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
checkbox in treegrid
03/12/2008
03:27
Avatar
ah
Member
Members
Forum Posts: 5
Member Since:
01/12/2008
sp_UserOfflineSmall Offline

Hi,

I am using the treegrid to show sth like a rights control. For this I create for every entrie in the treegrid a checkbox where you can submit the rights or not.

The checkboxes and the treegrid are shown so far. What I need in addition is how to mark the checkbox as enabled or not. The problem is, even in your example, that it doesn`t matter if I click on the checkbox or not. The status of the checkbox(checked or unchecked) is not changed.

Thxs

AH

04/12/2008
08:35
Avatar
ah
Member
Members
Forum Posts: 5
Member Since:
01/12/2008
sp_UserOfflineSmall Offline

I guess I understand now the behaviour. If I click on the checkbox and change the checkbox state from unchecked to checked then its only commited if I press the enter button or the tab button. There is no effect if I only click with the mouse in another field. (the checkbox state is left as it was)

try online example with Using Events: Change Client 3 of field client from 3 to 1 and don`t commit with enter or tab just click on another field. The formerly changed field remains the same.

But from the docu another behavious is described:

The cell is saved when we press [Enter] again, when we press [Tab], or when we click on another cell.

The marked one is what I need, because its strange to move from the mouse cursor to the enter or tab key, only to submit a change.

Is there a workaround or can I handle this with the editRow method?

Thx in advance

AH

04/12/2008
12:19
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Does this mean that you use treegrid with celledit?

I will look at this, since it seems to be very usefull.

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.

05/12/2008
01:50
Avatar
ah
Member
Members
Forum Posts: 5
Member Since:
01/12/2008
sp_UserOfflineSmall Offline

hi,

yes, I do use celledit with treegrid. But not the treegrid itself, only the additional columns. But the behaviour described seems to be in all the grids not only the treegrid.

Regards

AH

09/12/2008
07:05
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Now I understand what it is. I will costruct such test to see what is real with

this.

Thank you

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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