Hi
I would like to insert row inbetween existing records. Not using the collection of the datagrid. But in a generic way and It should be available as a functionality to all my datagrids in my application.
Thanks,
Ayyappan
Hello,
I have been looking into your question and in order to add records you can use the DataItems.Insert method.
Notice that if you use DataItems collection you should not use DataSource. You can use :
xamDataGrid1.DataItems.Add(“some text”);
and then add records within
xamDataGrid1.DataItems.Insert(3,"insert test");
that will insert record in the third position
Please in case of future concerns do not hesitate to ask.
Sincerely,
Ekaterina
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support
I am just checking your progress on the issue .
If you require any further assistance please do not hesitate to ask.
Infragistics