Closed nimer- closed 3 years ago
@nimer the example works fine as seen in this group demo # 7 - you may need to check if you have the latest code. Can you cross check the gridview JS assets that are being loaded on the page for your app and compare it with the assets loaded on the demo site link above and confirm they are same
@kartik-v You are correct with the latest version of code. I am using non-minified (for dev purposes) and on the demo page is minified. As seen here: https://github.com/kartik-v/yii2-grid/blob/master/src/assets/js/kv-grid-group.js and here https://github.com/kartik-v/yii2-grid/blob/master/src/assets/js/kv-grid-group.min.js There are different versions (3.2.7 for non minified and 3.3.6 for minified version) in master branch. Minified version of code is working fine. 👍
It should work with the non-minified source as well ... actually the PHP Doc version 3.2.7 is a typo error and will correct it.
For the non-minified source - it seems some cache issue at your end loading old obsolete assets.
Prerequisites
master
branch of yii2-grid.Libraries
Steps to reproduce the issue
There is still an issue with subgroups of 2nd, 3rd level. It does not work without groupfooter attribute. (Actually there is closed issue for this, but it was closed because you could not reproduce it and it was not well documented - posted reply there 2 months ago - so i am trying again)
using your example from: https://demos.krajee.com/group-grid-demo/7 :
it looks like this:
Emptied cache, tried different browsers, different computers actually, but it persists.