Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
320
Is any client side function fired when the ultrawebgrid's column width is resized ?
posted

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

Parents
No Data
Reply
  • 185
    posted

    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.

     

     

     

     

     

Children