We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Grid is not working into a Splitter control

Hello,

Why doesn't this code work when the grid is into a Splitter control?

 var gridObj = $('#" + this.GDatos.ClientID + "').ejGrid('instance');
var Value  = 0;
 if(gridObj.getSelectedRecords().length > 0)
{
 Value   = gridObj.getSelectedRecords().Id;
gridObj.refreshContent();
}

I can't access to functions or properties of the grid control, and I can do it when the control is outside the Splitter control.

Thanks!

1 Reply

SA Saravanan Arunachalam Syncfusion Team November 9, 2015 07:35 AM UTC

Hi Jorge,

Thanks for contacting Syncfusion Support.

We are unable to reproduce the reported issue.  You might have referred multiple jquery plugin files which may be the cause of the issue. Please referred to the below online documentation link to resolve this issue.

http://www.syncfusion.com/kb/4037/how-to-resolve-object-does-not-support-property-or-method-ejgrid-script-error
Please provide the following information regarding your query?

1. Confirm whether provided code example used in Grid control event or any other control                                                              event?

 2. Share the result of this.GDatos.ClientID.
               3. Share your console page with call stack if any exception or script error throws?

4. If possible please reproduce the mentioned issue in the below sample?

We have created the sample that can be downloaded from the below link:

http://www.syncfusion.com/downloads/support/forum/121058/ze/F121058-1016686554

Regards,

Saravanan A.


Loader.
Live Chat Icon For mobile
Up arrow icon