PDA

View Full Version : [CLOSED] Grid RowEditing Plugin - Height



adelaney
Jun 08, 2012, 8:56 PM
I want my grid to flex in height depending on the # of rows returned so I don't have a hard height value set. Additionally, I am using the paging bottom bar and I have RowEditing enabled. When I filter my grid to one row and switch to edit, the grid doesn't automatically flex to fit the height filled by the RowEditing "control." I don't know if this is a bug or something that I am supposed handle manually. Please advise.

Daniil
Jun 08, 2012, 9:20 PM
Hi,


I want my grid to flex in height depending on the # of rows returned so I don't have a hard height value set.

There is no such built-in functionality. Recently, there was the same request for Ext.NET v1 and here is the example how I would implement in Ext.NET v1.
http://forums.ext.net/showthread.php?18329&p=79164&viewfull=1#post79164

I think you could use the same principle in Ext.NET v2.


Additionally, I am using the paging bottom bar and I have RowEditing enabled. When I filter my grid to one row and switch to edit, the grid doesn't automatically flex to fit the height filled by the RowEditing "control." I don't know if this is a bug or something that I am supposed handle manually. Please advise.

Yes, RowEditing can't increase GridPanel height automatically in that case. I think you could increase it manually on a respective value when you will set up a height basing on rows count.

Daniil
Jun 13, 2012, 9:00 PM
The thread is related to this one.
http://forums.ext.net/showthread.php?19513