Hi,
I am trying to repaint a xamDatGrid , to achieve the following:
I have a set of records displayed on the grid. When a new record is added, I want those already displayed records on the grid to be reloaded (the "AssignFieldLayoutToItem" event be raised again fr each row). The fieldLayout for the grid depends on the grid records and therefore the layout changes after nth record is added. I want the previous (n-1) records to be reloaded as well so that they can take the new layout.
Please guide me with the same.
HI,
Please let me know if you need further assistance regarding this issue.
Sincerely, Matt Developer Support Engineer
Hi KormalD,
Reset the XamDataGrid's DataSource. You can set it to null and set it back.
You also may want to consider clearing the FieldLayout collection.
XamDataGrid1.FieldLayouts.Clear().