PDA

View Full Version : [FIXED-EXTJSIV-327] Grid Scrolling, Grid Paging, Inital Loading, Grid Events



David Waddleton
24 Mar 2011, 12:44 PM
1) The horizontal scrollbar moves the columns data but not the headers when scrolling left and right
2) No controll over scrollbars, like turning off the bottom scrollbar versus having only the right side scrollbar
3) Issues with Loading data using Ext3 equal methods in 4, the Paging toolbar does not recognize paging calculations. These methods also require giving data to exact data location versus the 3X methods which would allow you to send one layer above, which does work correctly when asking the grid to page and sort in 4.0
4) No way to reconfigure the headers, we have functionality which depends on this feature which did work in ExtJs 3. We can save the information, but no way to reinitialize.
5) When hiding a column no events are firing at the view level other than 'resize' or header level resize, (no header level hide event).
6) If we extend the GridPanel in ExtJs4 there does not seem to be a way through the config to get access to override events, which is possible in Extjs 3.

aconran
24 Mar 2011, 4:15 PM
1) Can you generate a test case for us to take a look at?

2) You can use scroll: 'both', 'vertical', 'horizontal' or 'none'. There were some issues with vertical and horizontal which have been resolved post PR5.

3) Need more details

4) We have an open ticket for this.

5) These events are exposed on the HeaderContainer.

6) Which events are you looking to override? I can perhaps point you in the right direction.

David Waddleton
24 Mar 2011, 6:35 PM
For #1 and #3, I will put together an example.

For #5,
Once you hide the Column that has the Flex property the 'headerresize' event won't fire any more when hiding columns. This leads towards the other bug where the columns won't auto fit to the grid panel.

Unless as a work around we never let the user hide the column that has the flex property then it will always resize and the event will fire always but seems like a bug still.
The columns won't auto fit on the grid when removing the flex property column.

David Waddleton
24 Mar 2011, 6:35 PM
Thanks for responding, we do appreciate it.

David Waddleton
24 Mar 2011, 9:03 PM
1) Can you generate a test case for us to take a look at?
[Test case in following post ]
2) You can use scroll: 'both', 'vertical', 'horizontal' or 'none'. There were some issues with vertical and horizontal which have been resolved post PR5.

3) Need more details
[Test case in following post, examine comments about store.loadData ]

4) We have an open ticket for this.

5) These events are exposed on the HeaderContainer.

6) Which events are you looking to override? I can perhaps point you in the right direction.
[ Mainly trying to utilize the postrender event, so that we can present some messaging to the user after the grid is rendered]

David Waddleton
24 Mar 2011, 9:10 PM
The below sample has the data, with files to show the grid. It has a strange behaviour when one of the columns has a flex value, versus when a column does not. We are needing to have a column with a flex value so that we can utilize the autosizing. The columns do not line up with a flex value in a column plus the scrolling behaviour shows up where the data and the headers are out of sync.

Thanks

aconran
4 Apr 2011, 12:56 PM
David -

flexing accommodates the additional space available. You've specified more width in columns than there is available in the grid. This is a box layout issue that we have a different ticket for. For your specific case you want to just drop the flex from the first header and things will work properly for you.

aconran
11 Apr 2011, 8:28 PM
This was a dup of EXTJSIV-553 and is fixed in the next release.