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
1329
UltraWebGrid with DropDownList / ValueList column
posted

I have a bound Hierarchical UltraWebGrid and one of the columns is a DropDownList / ValueList with values (Read, Write, Execute). When I change the vale of the parent column DropDownList, I would like to set each child's DropDownList column to be the same selectedValue as the parent. For example, if select "Execute" from the parents DropDownList, I need to loop through each of that parents child rows on the client side and set the selectedValue = "Execute" as well. Right now I am working with the ValueListSelChangeHandler but can use a hand here. Thanks!

  • 49378
    Suggested Answer
    posted

    Hi jdymond,

    It has been a while since your post, however in case you still need assistance I would be glad to help.

    You may want to consider using the AfterCellUpdateHandler and checking whether a cell of the respective column and band has been edited as such:


    function UltraWebGrid1_AfterCellUpdateHandler(gridName, cellId){
    if(igtbl_getCellById(cellId).Band.Index==0 && igtbl_getCellById(cellId).Column.Index == 3 ) {
       
    for (i=0; i<igtbl_getCellById(cellId).Row.Rows.length; i++) {
           
    var currentValue = igtbl_getCellById(cellId).Value;
       
    }
    }
    }

    Please let me know if you need further assistance.

    Best Regards,

    Petar Ivanov
    Developer Support Engineer
    Infragistics, Inc.
    http://es.infragistics.com/support