PDA

View Full Version : problems with layout rendering



jmls
1 Jul 2012, 11:46 AM
following the extjs and node tutorials. I have managed to get them all working. however, there seems to be a problem with the layout when updating records.

This picture shows the grid before an edit. All is ok.

36687

press the edit button (or double-click) and you get some scrollbars. This is really messy.

36688

However, press cancel, and it gets worse ... the scrollbars stay.

36689

Am I doing something wrong - or are there options / parameters to stop this sort of thing ?

Thanks

sword-it
2 Jul 2012, 12:35 AM
HI,

There may be width problem of grid columns or may you provide your code
for better understanding the problem

jmls
2 Jul 2012, 12:42 AM
the code is the example code given in the tutorial - http://docs.sencha.com/ext-js/4-1/#!/guide/editable_grid

However, the problem seems to happen when there are less rows than the height of the grid. All is fine, until you add a row which would make a vertical scrollbar appear, which seems to affect the rowediting .

Is it possible to show a scrollbar (or at least reserve the space for it) even when one is not needed ?

thanks for the help.