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
475
Retrieve grid values in client side scripting
posted

Hi,

To fulfill the requirement, I need to use client side scripting such as:

<script type="text/javascript">

 

 

function

activeCellChanged(sender, args)  {

 

 

 

var activeCell = args.getActiveCell();

 

 

alert("row activated:" + activeCell.getRowIndex());

ig.smartSubmit('caseDetailForm:tranGridView',null,null, 'caseDetailForm:tranDetailPanel', null);

}

</script>

<ig:gridView>

  <ig:gridClientEvents activeCellChanged="activeCellChanged">

 ...

</ig:gridView>

 

my question is:

1) Are there more events for ig:gridClientEvents that I can catch? I know there are enteredEditMode. Where is the complete documentation for it?

2) How can I retrieve grid value? For example, I need to get the value of first row and secnd column?

 

thanks.

Parents
No Data
Reply
  • 475
    posted

    Hi,

    I see how to get grid object by using:

    cell.getGrid(),

    There is one more question about get the value of specific row and column. For example, I want to get the value at row 2 and coloumn 1. grid object should have the method to provide it. right?

    Thanks.

Children