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

problem while using grids in Tab

Hello,

I have three tabs on my page and in each tab i have a grid.
In the first tab there is no problem.
In the second tab when the grid load, the following message appears "Are you sure you want to save changes?" despite i didn't do anything. I choose "no" then, if i edit a row using a template dialog this message appears in the console :

ej.web.all.min.js:10 Uncaught ejDialog: methods/properties can be accessed only after plugin creation
Error: ejDialog: methods/properties can be accessed only after plugin creation
    at t.throwError (http://localhost:50546/Scripts/ej/ej.web.all.min.js:10:24322)
    at n.fn.(anonymous function) [as ejDialog] (http://localhost:50546/Scripts/ej/ej.web.all.min.js:10:18711)
    at Object.t.gridFeatures.edit._edit (http://localhost:50546/Scripts/ej/ej.web.all.min.js:10:2002527)
    at Object.t.widget.sendDataRenderingRequest (http://localhost:50546/Scripts/ej/ej.web.all.min.js:10:2232328)
    at Object.t.gridFeatures.common._processBindings (http://localhost:50546/Scripts/ej/ej.web.all.min.js:10:1878522)
    at Object.t.gridFeatures.edit.startEdit (http://localhost:50546/Scripts/ej/ej.web.all.min.js:10:1990051)
    at Object.t.gridFeatures.edit._toolbarOperation (http://localhost:50546/Scripts/ej/ej.web.all.min.js:10:2029225)
    at Object.t.gridFeatures.edit._toolBarClick (http://localhost:50546/Scripts/ej/ej.web.all.min.js:10:2026422)
    at Object.t.widgetBase._trigger (http://localhost:50546/Scripts/ej/ej.web.all.min.js:10:10981)
    at Object.t.widget._onItemClick (http://localhost:50546/Scripts/ej/ej.web.all.min.js:10:1147241)

I close the dialog with the cross. If i click again on edit two dialogs appear (one before javascript  etablishment and one after).
I close both  with the cross. And if i click again on edit  there is no problem anymore.

In the third Tab I have the same issue.

I use grids and dialogs in other pages and i don't have this problem.

Thanks for your help,

T. Cholet


3 Replies

SS Seeni Sakthi Kumar Seeni Raj Syncfusion Team March 17, 2016 08:15 AM UTC

Hi Cholet,

We are unable to reproduce the issue at our end.

We have prepared a sample with the given information that can be downloaded from the following location.

Sample: http://www.syncfusion.com/downloads/support/forum/123427/ze/SampleApp_GridTab34143504.zip

Could you please provide the following information which would be helpful to analyze the issue and provide you solution as early as possible.

1)      What type of editMode is used for three Grid in each tab?

2)      You have quoted that you are loading Grid while switching to second tab. How you are loading the Grid while switching to the second tab?

3)      Share the view page or code example of Grid and Tab.

4)      If possible, modify the attached sample and replicate the issue.

5)      Exact replication procedure for the issue

6)      Share the screenshot for the issue.

Regards,
Seeni Sakthi Kumar S.



CH Cholet March 17, 2016 11:34 AM UTC

Hi,

Thanks for your response.

You will find attached my view (index.cshtml), composed of 3 tabs and a grid in each one,

and screenshots from the the dialogs which appear :
    1 : when I switch to the second tab
    2 : when i click on the edit button
    3 : when i click again on the edit button (after closed the first dialog)
    4 : A second dialog template is under the first without any action from me ( exept closing the dialog on image 3)
    5 : After a third click on the edit button (now dialog template is OK)

Thanks,

Attachment: syncFusion_2934db4f.rar


SS Seeni Sakthi Kumar Seeni Raj Syncfusion Team March 18, 2016 09:50 AM UTC

Hi Cholet,

We are able to reproduce the issue with the given code example. We have confirmed the following are breaking issues and logged an issue report.

1)      While switching to hidden tab which has scroller enabled Grid, a confirmation dialog will pop-up.

2)      While editing records, edit form will not be rendered with the sub controls which results in misbehavior of editing action.

We have created a new support incident under your account to track the issue report. Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents

Regards,
Seeni Sakthi Kumar S.


Loader.
Live Chat Icon For mobile
Up arrow icon