Hi...
I would like to know any client side function fired when the ultrawebgrid's column width is resized ?
How to retrieve the ultrawebgrid's column width in client side script ?...
If it so... can u reply me soon with sample code ...
Thanks in advance..
By
Bala
Hi Bala,
AfterColumnSizeChange is the event that is fired after a column is resized. You can retrieve the width of the column by getWidth() method.
Here is a small sample javascript function that I have written for AfterColumnSizeChange event.
function UltraWebGrid1_AfterColumnSizeChangeHandler(gridName, columnId, width){
var col = igtbl_getColumnById(columnId);
var str = col.HeaderText;
var wid = col.getWidth();
alert('Width of column '+ str +' changed to '+ wid);
}
I hope this helps.
But when the page is postback...
It keeps the previous value
Hello,
For server-side column resize events, you can check out the ColumnSizeChanged event and get the new size from there.