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
2009
UltraWebGrid - Showing exapnd sign after first column
posted
Hi, I am using v.10.2. I am using UltraWebGrid with first column as a checkbox column.This grid has two bands.In the InitializeRow event, I am setting e.Row.ShowExpand = true so that expand sign (+) is diaplyed for the child band. Right now expand sign is displyed as the leftmost column before first column of the gris. I want to display the checkbox column before the expand sign (+). Can it be done? Thanks
Parents
No Data
Reply
  • 49378
    posted

    Hi sandy_joggy,

    Thank you for posting in the community

    After researching your requirement it seems that there is no way to arrange columns before the row expanders of the UltraWebGrid. What I would suggest you to do is to hide the row expanders by setting the UltraWebGrid band's indentation to 0. Then you could add a column at your desired position and style it as an expander, ultimately expanding the rows upon cell click using:

    igtbl_getGridById("UltraWebGrid1").Rows.getRow(0).setExpanded(true)

    Please note that the UltraWebGrid control is now outdated and as of .NetAdvantage 2011 Volume 2 is no longer included in our product package. I would suggest that you consider switching to the WebDataGrid/WebHieararchicalDataGrid. More information regarding these controls is available at:

    http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=Web_WebDataGrid_WebDataGrid.html

    Additional samples demonstrating the features of these grids can be found at:
    http://samples.infragistics.com/aspnet/

    Please let me know if this helps.

    Best Regards,

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

     

Children