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
20
Allow Edit Cell in Ultrawebgrid
posted

Hi All,

Please help us, how to set AllowEdit atribute in cell by javascript in Ultrawebgrid.

Thank in advance.

Parents
No Data
Reply
  • 769
    posted

    Hello,

    1.  If you want to have an editable cell, all you need to do is set the AllowUpdate field = "Yes" for that column.

    2. If you want to edit cell in javascript on client side you can try

    function EditCell(){

    var grid = igtbl_getGridById("Ultrawebgrid1");    //ultrawebgrid1 is the name of your ultrawebgrid

    igtbl_EnterEditMode("ultrawebgrid1");

    return 0;

    }

    You need to call the EnterEditMode, if you have Infragistics install on your machine, you should be able to find the example above under:

    Start->All Programs->Infragistics NetAdvantage 2006 Volume 3 CLR 2.0 (if you are using this version, if not yours should be something similar)->ASP.NET Samples Browser and under the Grid menu, you should look for Client Side Cell Edit and you should see that they have all kinds of editing scripts there.

    I hope it helps.

    HS2

Children