Forum
04:10
20/08/2009
When you create a Grid with multiselect:true
Then you create a toolbar with the following options:
gridModel:true,gridToolbar:true,enableClear:true,enableSeach:true
The first field is not shifted to the right but remains aligned to the left of the form.
The first search field is aligned with the multiselect toggle buttons
01:42
Moderators
30/10/2007
Hello,
Which version do you use? If you use 3.5 I suggest you to use filterToolbar method instead of filterGrid.
Regards
Tony
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.
Should your SELECT not rather have a key-value pair, as in 1:Good;2Medium;3:Bad;?
I also have some issues with the filterToolbar (ver.3.4.4) and go through quite a bit of work to set the columns position. For example my first few columns are not searchable so I want to move my first search box to the right, left aligned with the column of the field it represents, here are some examples that may be helpful:
$('form.filterform table.filtertable tr td.empty').attr({ colspan: 2 }).css({ width: '73px' });
$('form.filterform table.filtertable tr td').css({ margin: '0 5px' });
$('form.filterform table.filtertable tr td #sg_CallDateUrl').css({ width: '187px' });//first search box/column
$('form.filterform table.filtertable tr td #sg_CallTypeUrl').css({ width: '39px' });
$('form.filterform table.filtertable tr td #sg_PrimaryContactTitle').css({ width: '73px' });
$('form.filterform table.filtertable tr td #sg_CallStatus').css({ width: '88px' });
$('form.filterform table.filtertable tr td #sg_CompleteUrl').css({ width: '34px' });
$('form.filterform table.filtertable tr td #sg_LastCallComment').css({ width: '228px' });
Not sure if this is a feature in 3.5 but would be great if the resize event on columns also resizes and aligneds the search toolbar's column with it.
Most Users Ever Online: 715
Currently Online:
67 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66