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
Thanks usha...
Bye...
Hello,
This is a great solution - I just want to add that for client-side functionality and APIs, the best place to look for us our online help and especially the CSOM (Client Side Oject Model) section of the help at the bottom left of the navifation tree. Tons of useful information there.
Just visit the following link for details:
http://help.infragistics.com/NetAdvantage/NET/2008.2/CLR2.0/