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
280
Minimums?
posted

I want to keep users from resizing a column below a certain pixel size.  Is this possible in WebGird?

 

Thanks.

Parents
No Data
Reply
  • 19693
    posted

    Hello ,

    Below there is a implementation of the suggestion: 

    <ClientSideEvents BeforeColumnSizeChangeHandler="UltraWebGrid1_BeforeColumnSizeChangeHandler" />

     

            function UltraWebGrid1_BeforeColumnSizeChangeHandler(gridName, columnId, width) {

                //Add code to handle your event here.

                if ((width < 300) && (igtbl_getColumnById(columnId).Key == 'ID')) {

                    return true;

                }

            }

Children
No Data