auto resize for the gird
Hi,
Now i use below css code to implement the auto resize of the row. And now the height of the row will auto adjust when i adjust the cell's length, if the text wrap more columns the height will increase auto.
But now the problems that what i had is the gird's height can't auto adjust when i use this way. And didn't show the vertical scroll bar. So i can't saw all the rows in this gird.
If I add this css code :
Then I can saw the whole rows but the gird height is too large to show in the page. And i try this
It didn't work.
So who can help me fix this problems? TKs.
Now i use below css code to implement the auto resize of the row. And now the height of the row will auto adjust when i adjust the cell's length, if the text wrap more columns the height will increase auto.
.aw-grid-cell {border-right: 0px solid threedlightshadow;height:auto;vertical-align:top;overflow:auto;}
.aw-grid-row {border-bottom: 1px solid threedlightshadow;height:auto;}
But now the problems that what i had is the gird's height can't auto adjust when i use this way. And didn't show the vertical scroll bar. So i can't saw all the rows in this gird.
If I add this css code :
.aw-grid-control {height: 500%; width: 100%; }
Then I can saw the whole rows but the gird height is too large to show in the page. And i try this
.aw-grid-control {height: auto; width: 100%; }
It didn't work.
So who can help me fix this problems? TKs.
bob
May 26,