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
45
ultrawebgrid templated column check box.
posted

i have added a templated cloumn(checkbox) in ultra webgrind. how can i check whether the check box is checked or not in clientside, im adding rows dynamically in through javascript.. and im using net advantage 10.3

 

 

 

 

 

 

 

 

 

<igtbl:TemplatedColumn Type="CheckBox" Key

="chk">

 

 

<Header

>

 

 

<RowLayoutColumnInfo OriginX="3"

/>

 

 

</Header

>

 

 

 

<Footer

>

 

 

<RowLayoutColumnInfo OriginX="3"

/>

 

 

</Footer

>

 

 

</igtbl:TemplatedColumn

>

any idea on this?

  • 130
    posted

    you can use

    var Grid= igtbl_getGridById(GridID);

    var Row = Grid.Rows.getRow(RowIndex); // you can use: Row = Grid.getActiveRow(); to select row active

    //this aleart of value of checkbox .

    alert(Row.getCellFromKey("chk").getValue());