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
multiboxonly property bug ?
22/02/2010
04:00
Avatar
ump2152
Member
Members
Forum Posts: 5
Member Since:
22/02/2010
sp_UserOfflineSmall Offline

This question has already been asked on http://www.trirand.com/blog/?p.....38;cpage=5 but there was not reply on it.

If we have both multiselect and multiboxonly set to true, checkbox still gets selected when you click on row

multiselect: true,
multiboxonly: true,

i.e. multiboxonly set to true has to effect.

I've downloaded the latest build and still same issue. Is it a bug or there is something else needs to be added to jgrid object definition?

22/02/2010
09:07
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Sorry could not reproduce. In order to confirm

Go into the demo the open Advanced=> Multiselect and test

I have set this example to be muliselect and multiboxonly.

Please note that a 3.6.4. version is used.

Also maybe you will need to clear the cache before testing.

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.

22/02/2010
17:48
Avatar
ump2152
Member
Members
Forum Posts: 5
Member Since:
22/02/2010
sp_UserOfflineSmall Offline

I've just tried that demo section and still same issue

And, by the way, you don't have multiboxonly set to true in that example.

I've just checked again - I'm using v3.6.4 and cache is cleared (also tried in different browsers). On previous version - v3.4 it worked fine, but once I upgraded to v3.6.4 - it stopped working.

Let me confirm the issue once again - when multiboxonly is set to true, it shouldn't autoselect checkbox when you click a row, but right now it does - i.e. multiboxonly is ignored.

23/02/2010
10:55
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

We we know more it is better. The behaviour of this is changed from 3.5.x. Sorry.

You can look here for mutibox description:

http://www.trirand.com/jqgridw.....ki:options

Best 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.

23/02/2010
23:25
Avatar
ump2152
Member
Members
Forum Posts: 5
Member Since:
22/02/2010
sp_UserOfflineSmall Offline

Tony, I still can't understand - is this featured removed from 3.6.4 ?

In WiKi there is nothing new....

multiboxonly

This option works only when multiselect = true. When multiselect is set to true, clicking anywhere on a row selects that row; when multiboxonly is also set to true, the multiselection is done only when the checkbox is clicked (Yahoo style). Clicking in any other row (suppose the checkbox is not clicked) deselects all rows and the current row is selected.

The point is that it doesn't work the way it is described - with multiboxonly=true it still selects a checkbox and select a row when you click on it, but it should select only when I click checkbox.

Are there any different ways to reproduce the functionality of multiboxonly=true ?

24/02/2010
19:53
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Yes the bahaviour is changed, if you click on a row the row is selected including the checkbox.

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.

24/02/2010
23:23
Avatar
ump2152
Member
Members
Forum Posts: 5
Member Since:
22/02/2010
sp_UserOfflineSmall Offline

ok, thanks

By the way, I've noticed a small bug with autowidth: true property. When you set 100% to grid width, in Firefox grids expands to the right under the right scrollbar, i.e. very right part of grid approximately 16px width becomes cut. I guess, it's because Firefox calculates document width in a different way and includes scrollbar.

26/02/2010
21:28
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Did you mean height to 100%. The width of the grid can be set ony in pixels. Also the 16 or 18px depend on how you set the height.

Best 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.

26/02/2010
22:10
Avatar
ump2152
Member
Members
Forum Posts: 5
Member Since:
22/02/2010
sp_UserOfflineSmall Offline

Tony, I think you misunderstood me.

When you set autowidth:true, jgrid expands to 100% window width and recalculates cells widths proportinally. So in Firefox it expands beyond the right vertical scrollbar. If there is no vertical scrollbar on a page, you won't see this bug, but when the scrollbar appears, 16px of the very right cell is cut by the scrollbar, it goes under it.

27/02/2010
19:49
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

If there is no vertical scrollbar on a page, you won't see this bug, but when the scrollbar appears, 16px of the very right cell is cut by the scrollbar, it goes under it.

So, we should calaculate if we will  have vertical scrollbar on a page  - Sorry I think this is too complex, but not impossible.

Best Regrads

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:
62 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