Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
Clear Filter - remove space left and right side of x icon
04/03/2014
11:25
Avatar
mkutti
New Member
Members
Forum Posts: 2
Member Since:
04/03/2014
sp_UserOfflineSmall Offline

Hello,

Is it possible to remove the space on the left and right side of clear filter X button. This extra space takes away most of the space when the grid has lot of column and leaves little space in the filter textbox for entering the search value. 

Disabling the clearFilter also leaves space after the textbox.

Thank you !!

04/03/2014
12:58
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Yes this is possible and can be set per field bassis.

Thank you for remember me to add this option in the docs. Please use clearSearch. More info here

Regards

 

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

04/03/2014
15:49
Avatar
mkutti
New Member
Members
Forum Posts: 2
Member Since:
04/03/2014
sp_UserOfflineSmall Offline

tony said:

Hello,

Yes this is possible and can be set per field bassis.

Thank you for remember me to add this option in the docs. Please use clearSearch. More info here

Regards

 

Hi,

I want to keep the X button and clearSearch functionality. Looking for a way to remove the empty space after the textbox and before the X button and after the X button  i.e move the x button all the way to the right of the column and stretch the textbox  so that search textbox will get more space.

Image Enlarger

Thank you.

04/03/2014
16:06
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

This element is a href element and we set a inline style in js code like this :

style='padding-right: 0.3em;padding-left: 0.3em;'

We set this element to have  a class named clearsearchclass

After the grid is created you can use this class to overwrite these settings.

Regards

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
26 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information