Hi Yulia,
Thanks for your interest in Syncfusion products.
The solution for your query “dynamically call the grid in the script” has been achieved
using window object. To achieve this assign grid id in window object and access
this window object wherever you needed in the script.
For your convenience we have shown the
code snippets below,
Code Snippet:
function deleteConfirmation(sender, args)
{
window.gridId = sender.get_ID(); //store current grid Id in window object
...
}
$("#confrim").click(function ()
{
var
gridID = window.gridId; //get
current grid Id
var
gridObj = $find(gridID); //find
current grid object
...
}
Please let us know if you need any
further assistance.
Regards,
Prabhu Sarvesan