-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Ive found in the forum that we can use the following to have the grid with auto width..
<style >
.z-grid-body table,.z-grid-header table{ width: auto;}
</style>
Unfortunately this makes the 'column freeze' and 'row freeze' to stop working...
Anyone would know a eazy way to make this work with the row freeze and column freeze ?
Thanks
I've found a possible solution but... i have a small problem (when i have drag and drop enabled on some of the columns and it would refresh the entire grid)
with the following applied :
You can specify hflex to grid and vbox, and remove width="100%"
<vbox hflex="1">
<grid hflex="1"
It does works way better, but I have the same problem when I use drag & drop ...
Thanks
Actually, i found that in some cases it works with the hflex/vflex but when i do drag & drop or a click on a certain button even if i do myGrid.setModel(myNewListmodel); the Grid does not get "invalidated" i believe.. and therefore the grid display is not good.
Asked: 2011-09-05 11:00:05 +0800
Seen: 231 times
Last updated: Sep 05 '11