-
8 Aug 2010 11:04 PM #1
[OPEN-1407]GridPanel w/ CheckboxSelectionModel can hide all columns (except checkbox)
[OPEN-1407]GridPanel w/ CheckboxSelectionModel can hide all columns (except checkbox)
Ext version tested:
- Ext 3.2 rev 1
Adapter used:- ext
css used:- only default ext-all.css
Browser versions tested against:- FF3 (firebug 1.3.0.10 installed)
Operating System:- Windows Vista Business
Description:- When using a GridPanel with CheckboxSelectionModel (so checkboxes a are shown in the first column of the grid) it is possible to hide all columns except the checkbox column. Now it gets worse because the checkbox column has no column header and so it is not possible to show a column again, except a page reload. If you use StateManagement then you are really lost because then there is no way, except clearing the state, to show the columns again.
I think its a bug because a GridPanel without CheckboxSelectionModel does not allow to hide the last visible column
Test Case:
Code:Just use a simple GridPanel with a CheckboxSelectionModel
Steps to reproduce the problem:- Remove all columns of the GridPanel by using the header menu
- After removing the last one, there is only the checkbox column left.
The result that was expected:- The GridPanel should check if there is at least one column with a header menu left. Otherwise hiding should not be possible.
The result that occurs instead:- All columns, except the checkbox column, can be hidden. Now there is no way to show the columns again.
Screenshot or Video:- no
Debugging already done:- no
Possible fix:- not provided
-
8 Aug 2010 11:08 PM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41
Can't you just configure the CheckboxSelectionModel with menuDisabled:false?
-
8 Aug 2010 11:33 PM #3
Okay thats a working solution for us. I also have to set groupable: false to the CheckboxSelectionModel, otherwise the "grouping" checkbox in the menu could be clicked.
But it's still a bug I think. Or if not it should be documented that these config properties can be set on CheckboxSelectionModel. There are no config properties "menuDisabled" and "groupable" in the API docs of CheckboxSelectionModel.
-
9 Aug 2010 11:12 PM #4
-
10 Aug 2010 7:56 AM #5Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,652
- Vote Rating
- 14
We're going to update the documentation.
-
12 Oct 2010 11:30 PM #6
The documentation has not been updated until now! Even not with ExtJs 3.3.0!
-
1 Dec 2010 6:50 AM #7
It's still undocumented. Please reopen the bug report.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[OPEN-2] [GXT 2.1] [Grid] Hiding columns and columns group with long name
By Alex.Leshkin in forum Ext GWT: Bugs (2.x)Replies: 1Last Post: 19 Jan 2010, 10:59 PM -
GridPanel performance on show/hide columns
By v.madhu in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 16 Nov 2009, 12:26 AM -
is a css problem? in grid columns sometimes i haven't checkbox hide/visible
By nunziofiore in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 4 Apr 2008, 7:09 AM


Reply With Quote