I have a Grid that is bound to a local list of JS objects. The grid itself is within a dialog (modal). When i enter edit mode, unless clicking on another grid row, i am stuck in edit mode no matter what key i press.
Can you please tell me how to fix this issue ?
The grid works perfectly fine on a regular page (not contained within a dialog)
TSThavasianand Sankaranarayanan Syncfusion Team December 24, 2019 05:53 AM
We have validated the reported issue “stuck the Grid while editing the Grid inside of Dialog component” with provided the information but it is unsuccessful. Could you please share the below details to us it will help to validate further.
Share the code example of Grid rendering code example with Dialog
If possible to share the issue reproduce sample to us
Please ensure the Essential Studio version.
FHFayçal HANNOUNDecember 24, 2019 12:41 PM
Hello and thanks for your reply.
A little update after my investigation. The problem seems to occure only when editMode is set to normal. When i use (and i'm using) batchMode, the grid works as expected.
I no longer need the fix as to my current work, but the issue needs further investigation i think. For me the issue is resolved, but if you need further explanation or details, feel free to contact me.
Before showing the code, i would like to explain the structure real quick.
I have a partial view taht handles the rendering of the code responsible for displaying the modal. I control the behavior of the dialog via a custom model.
The grid itself is rendered in another partial that is passed to the modal dialog partial.
I do have a display problem regarding the dropDown within the grid (the one associated with the tax_id field) but i will open a new topic for it.
Thank you for your help.
SSSeeni Sakthi Kumar Seeni Raj Syncfusion Team December 31, 2019 04:19 AM
Thanks for your patience,
We have tried to reproduce the reported query “Grid rendering inside of Dialog component in Inline editing” . but it is unsuccessful. We have created a sample with your requirement. Please refer the below sample for more information.