Batch editing and Edit templates

Hi,

When I use batch mode and edit templates on a grid, jumping between rows with ENTER key does not work correctly. I have to perform either a mouse click in the edit control or SHIFT TAB combination to give focus to the row edit control. This does not happen when I use default edition (without edit templates).

What can I do ?

Regards

Fred


3 Replies 1 reply marked as answer

MS Monisha Saravanan Syncfusion Team May 23, 2022 01:12 PM UTC

Hi Frederic,


Greetings from Syncfusion support.


We have checked your query and we could not able to reproduce the reported issue at our end when using edit template with batch editing. We suggest you to check the reported issue after applying ID property for the custom component which is rendered inside the Edit Template. Kindly check the attached sample and code snippet for your reference.


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlazorApp11887795196.zip



<GridColumn Field=@nameof(Order.CustomerID) HeaderText="Customer Name" Width="150">

            <EditTemplate>

                <SfAutoComplete ID="CustomerID" TItem="Order" TValue="string" @bind-Value="@((context as Order).CustomerID)" DataSource="@Orders">

                    <AutoCompleteFieldSettings Value="CustomerID"></AutoCompleteFieldSettings>

                </SfAutoComplete>

            </EditTemplate>

        </GridColumn>


If the reported issue still persist then kindly share the below details to validate the issue further from our end.


  1. Share us the entire Grid code snippet along with model class.
  2. Share us the component used inside edit template of DataGrid
  3. Share us the video demonstration of the issue along with replication procedure.
  4. If possible share us the simple issue reproduceable sample or try to reproduce the issue on the above  mentioned sample.


The above-requested details will be very helpful for us to validate the reported query at our end and provide the solution as early as possible.


Regards,

Monisha



Marked as answer

FF Frederic FOURGEOT May 23, 2022 02:32 PM UTC

Hi


My mistake!

I forgot to set an ID for the control. With an ID the problem does not occur.


Many thanks

Best regards


Fred



MS Monisha Saravanan Syncfusion Team May 24, 2022 03:35 AM UTC

Hi Frederic,


Welcome.


Kindly get back to us if you have further queries. As always we will be happy to help you.


Regards,

Monisha


Loader.
Up arrow icon