Datepicker stops functioning after subgrid opened

QuestionsDatepicker stops functioning after subgrid opened
Thomas Selgas asked 3 years ago

Datepicker stops functioning after a subgrid is opened.  I have setup a test site to demonstrate the problem. If you click on the + sign to add a workorder record you’ll see the datepicker functionality works.  However, if you click on a subgrid “>” link, then close the subgrid link and then click on the + sign to add a workorder record you’ll see the datepicker functionality no longer works.

I sent you a personal email with the source code related to another problem which I’ll post shortly.

2 Answers
Abu Ghufran Staff answered 3 years ago

Hello, I’ll regenerate the case and update you back.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Abu Ghufran Staff answered 3 years ago

Fixed by removing the double inclusion of JS / CSS files.
The reason is the subgrid is loaded via ajax so the js/css files are already there in DOM that were loaded with parent grid.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

17 + 0 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?