Add first record to grid - focus problem

Hi,
when I try to add first record to grid, the record is not focused. If grid contains items, than everything works fine. Am I something wrong?
I created .gif example. Thank you for response 

Regards,
Ondrej 

Attachment: datagridadd_d6161a7b.7z

3 Replies 1 reply marked as answer

VS Vijayarasan Sivanandham Syncfusion Team March 5, 2021 01:42 PM UTC

Hi Ondrej,

Thank you for contacting Syncfusion support.

By default, the current cell will remain in the AddNewRow after adding a record when the grid has no records.Your requirement can be achieved by apply to change  the VisualState for AddNewRow in SfDataGrid. Please refer the below KB documentation for your reference,

KB Link:
https://www.syncfusion.com/kb/11768/how-to-move-selection-to-record-when-add-the-new-row-in-sfdatagrid-contains-empty-record-in 
We hope this helps. Please let us know, if you require further assistance on this.

Regards,
Vijayarasan S
 


Marked as answer

ON Ondrej March 8, 2021 09:45 AM UTC

Hi,
combination of these examples works for me. 

Thank you very much

Regrards,
Ondrej R


VS Vijayarasan Sivanandham Syncfusion Team March 9, 2021 05:07 AM UTC

Hi Ondrej, 

Thanks for the update.
 
 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you😊. 
 
Regards, 
Vijayarasan S 


Loader.
Up arrow icon