good evening I have a XdataGrid connected to a DataSet. For example, I have 10 row when i do at the DataSet I MyDataSet.AddRow () on the XDataGrid, it adds a new Row but theposition remains on Row 10 and therefore does not go on the new one.is that possible to add a new Item or Row at the XDataGrid from code c #?
with this method I can move on the record that I added to the DataSet:this.xdgvPrimaNota.ExecuteCommand(DataPresenterCommands.RecordLastDisplayed)But if I insert it immediately after the addition of records to the dataset, does not work. If I run it after a few seconds, does it work?
When i add the record in the dataset, on the display of the data grid, it appears the new record record and therefore happened something that i can intercept and use to trigger the above method
resolved:I use this method:this.xdgvPrimaNota.ExecuteCommand(DataPresenterCommands.RecordLastOverall);
Tanks
Hello Pranzo,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.