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
135
Grid row insert in web data grid 2014.1 version
posted

Hi,

I'm upgrading  our infragistics controls from 2011.1 to 2014.1 version, while upgrading controls i have struggling with grid row insert.

In Ultra grid there was a method like UltraWebGrid.Rows.Insert(

But seems i couldn't find the equivalent method in new version (WebDataGrid).

Please suggest me the right way to perform that operation ( grid row insert( Row has to be inserted in particular index into the webdatagrid))   

Regards,

Karthick

Parents
No Data
Reply
  • 8421
    Suggested Answer
    posted

    Hello Karthick,

    The best approach to do this would be to add the row directly to the data source you bind the grid to.  This way you make sure that the grid is always showing exactly what is in your data source and prevents them from getting out of sync.  For a good example of a similar implementation please see the following forum thread:

    http://ko.infragistics.com/community/forums/p/65969/335784.aspx

    Please let me know if you have any questions or concerns about this approach.

Children
No Data