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_TopicIcon
remove multiselect ckbox in grid header
01/04/2009
00:10
Avatar
will
Member
Members
Forum Posts: 8
Member Since:
23/10/2008
sp_UserOfflineSmall Offline

is it possible to remove or disable the multiselect checkbox in the

grid header? (this is the checkbox that selects/deselects all rows)

Thanks.

29/08/2009
13:52
Avatar
rdwwdr
Los Angeles CA, USA
New Member
Members
Forum Posts: 2
Member Since:
28/08/2009
sp_UserOfflineSmall Offline

Any answer to this question? I want to limit the selections to no more than three. I can do this when the user selects a row by onSelectrow but the header checkbox seems to skip this event.

29/08/2009
17:04
Avatar
markw65
Member
Members
Forum Posts: 179
Member Since:
30/07/2009
sp_UserOfflineSmall Offline

There's no direct way that I can see.

You do get an onSelectAll event right after the rows have all been selected or all deselected - so you /could/ use that and deselect rows "after the fact" as it were. That would probably work.

Or, you could try something like $('#cb_jqg', $(mygrid)).hide() to hide the checkbox. The only problem there is that the id of the checkbox ('cb_jqg') is not documented - so it could change.

As an aside, I think it should be changed, because right now if you have two grids, both checkboxes have the same id. Everything seems to work - but its not supported by any standard. It would be better if each grid had a unique id for the checkbox.

Mark

30/08/2009
15:09
Avatar
MamaliFrenchi
Member
Members
Forum Posts: 62
Member Since:
22/12/2008
sp_UserOfflineSmall Offline

You can try also             $('input[id=cb_jqg]', 'div[id=jqgh_cb]').remove();
in loadComplete event

10/09/2009
13:05
Avatar
rdwwdr
Los Angeles CA, USA
New Member
Members
Forum Posts: 2
Member Since:
28/08/2009
sp_UserOfflineSmall Offline

Thanks the remove on loadComplete seems to work for now.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
68 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