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
255
Ultrawebgrid: Adding rows to child band from javascript
posted

Hi All,

 

I need to add child rows to the parent row in an Ultrawebgrid when the user clicks on the Expand [+] button. This needs to be done in the Javascript. I am making an Ajax call and getting the child rows data. How can I achieve this? Please reply as soon as possible as it is blocking further development. Thank you.

Parents
No Data
Reply
  • 35
    Suggested Answer
    posted

    I have the same problem which was posted at http://es.infragistics.com/community/forums/p/78768/397830.aspx#397830

    The following snippet worked for me

    //set the active row
    var row = igtbl_getRowById(rowID);
    igtbl_setActiveRow(gridID, row.Element);

    //add a new second band row
    var newRow = igtbl_addNew(gridID, 1);

Children
No Data