When we expend multiple master grid then sub grid not showing date range filter of all master grid instead of first master grid, if we expend one at time , then date range filter showing on sub grid.
Always share screenshot and related code explaining your question. I don’t completely understand your question.
i am sharing two screenshot first -when first one showing -master grid expended , then date range filter showing on fsub grid filter but when i expend other master grid then corresponding sun grid not showing on date range filter, mean it\’s working for first one for multiple grid expanded case.
i am sharing two screenshot first -when first one showing -master grid expended , then date range filter showing on fsub grid filter but when i expend other master grid then corresponding sun grid not showing on date range filter, mean it\\\\’s working for first one for multiple grid expanded case. https://imgur.com/a/0trHeF6
Hi,
I understand the issue now. I’ll be updating back after some working.
I tested this scenario and it’s working fine when you include the css/js files of daterange picker on master grid code and not in subgrid php code.
Sample code of both files: Subgrid with daterange picker (github.com)
Refer Line 81 of parent grid, Line 53 of Detail grid code.
You can also test by overriding code in demos/master-detail/ files.
we have already included those css/js but problem occurs whenever multiple grid expanded then only first master grid showing date range filter on corresponding sub grid column while others subgrids of rest master grid are not showing daterange filter. But whenever we expanded single master grid then it\\\\\\\’s working .
I’ve made some progress while working on this case.
Can you try editing lib/inc/jqgrid_dist.php and replace:
jQuery(‘#’+ el.id).daterangepicker(jQuery.extend({
with
jQuery(el).daterangepicker(jQuery.extend({
I’ve checked it and works as expected after that. Let me know the results.