{"action":"closed","issue":{"url":"https://api.github.com/repos/mleibman/SlickGrid/issues/1197","repository_url":"https://api.github.com/repos/mleibman/SlickGrid","labels_url":"https://api.github.com/repos/mleibman/SlickGrid/issues/1197/labels{/name}","comments_url":"https://api.github.com/repos/mleibman/SlickGrid/issues/1197/comments","events_url":"https://api.github.com/repos/mleibman/SlickGrid/issues/1197/events","html_url":"https://github.com/mleibman/SlickGrid/issues/1197","id":407141115,"node_id":"MDU6SXNzdWU0MDcxNDExMTU=","number":1197,"title":"Blank rows grouping","user":{"login":"SilentXHeroes","id":43415884,"node_id":"MDQ6VXNlcjQzNDE1ODg0","avatar_url":"https://avatars1.githubusercontent.com/u/43415884?v=4","gravatar_id":"","url":"https://api.github.com/users/SilentXHeroes","html_url":"https://github.com/SilentXHeroes","followers_url":"https://api.github.com/users/SilentXHeroes/followers","following_url":"https://api.github.com/users/SilentXHeroes/following{/other_user}","gists_url":"https://api.github.com/users/SilentXHeroes/gists{/gist_id}","starred_url":"https://api.github.com/users/SilentXHeroes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilentXHeroes/subscriptions","organizations_url":"https://api.github.com/users/SilentXHeroes/orgs","repos_url":"https://api.github.com/users/SilentXHeroes/repos","events_url":"https://api.github.com/users/SilentXHeroes/events{/privacy}","received_events_url":"https://api.github.com/users/SilentXHeroes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-02-06T09:17:04Z","updated_at":"2019-02-06T10:51:40Z","closed_at":"2019-02-06T10:51:40Z","author_association":"NONE","body":"Hello everyone,\r\nI have an issue with my slickgrid. I'm using \"grouping\" on a list with different categories and this happens :\r\n\r\n![image](https://user-images.githubusercontent.com/43415884/52329903-3c2f4280-29f4-11e9-8f95-eaffcf81f071.png)\r\n\r\nBlank rows appear in the slick instead of group rows. Two days ago my code worked perfectly and now I have this issue ...\r\n\r\nMy columns:\r\n\r\n```javascript\r\nvar originalColumns = [\r\n        {\r\n            id: \"cip\",\r\n            name: \"CIP/EAN\",\r\n            field: \"cip\",\r\n            formatter: formatCIP13,\r\n            width: 200,\r\n            visibility: 1,\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"nom\",\r\n            name: \"Produit\",\r\n            field: \"nom\",\r\n            width: 200,\r\n            visibility: 1,\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"info_prod\",\r\n            name: \"Infos Compl\",\r\n            field: \"info_prod\",\r\n            width: 200,\r\n            visibility: 1,\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"stock\",\r\n            name: \"Stock\",\r\n            field: \"stock\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"fromTo\",\r\n            isSum: true,\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"qteprop_ligcom\",\r\n            name: \"Prop.\",\r\n            field: \"qteprop_ligcom\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"fromTo\",\r\n            isSum: true,\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"qtecom_ligcom\",\r\n            name: \"Cmd\\u00E9\",\r\n            field: \"qtecom_ligcom\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"fromTo\",\r\n            isSum: true,\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"prixcat_ligcom\",\r\n            name: \"Prix Cat.\",\r\n            field: \"prixcat_ligcom\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"fromTo\",\r\n            sortable : true,\r\n            nbDecimal: 2\r\n        },\r\n        {\r\n            id: \"txremg_ligcom\",\r\n            name: \"Remise\",\r\n            field: \"txremg_ligcom\",\r\n            type: \"fromTo\",\r\n            width: 200,\r\n            visibility: 1,\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"prixremht_ligcom\",\r\n            name: \"Prix HT\",\r\n            field: \"prixremht_ligcom\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"fromTo\",\r\n            sortable : true,\r\n            nbDecimal: 2\r\n        },\r\n        {\r\n            id: \"coeff\",\r\n            name: \"Coefficient\",\r\n            field: \"coeff\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"fromTo\"\r\n        },\r\n        {\r\n            id: \"marge\",\r\n            name: \"Marge\",\r\n            field: \"marge\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"fromTo\",\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"marge_per\",\r\n            name: \"Marge (en %)\",\r\n            field: \"marge_per\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"fromTo\",\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"prix_public_ht\",\r\n            name: \"Px Public HT\",\r\n            field: \"prix_public_ht\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"fromTo\",\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"pxpub_ligcom\",\r\n            name: \"Px Public TTC\",\r\n            field: \"pxpub_ligcom\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"fromTo\",\r\n            sortable : true,\r\n            nbDecimal: 2\r\n        },\r\n        {\r\n            id: \"etat\",\r\n            name: \"\\u00C9tat\",\r\n            field: \"etat\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"select\",\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"montant_ht\",\r\n            name: \"Montant HT\",\r\n            field: \"montant_ht\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"fromTo\",\r\n            isSum: true,\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"tva\",\r\n            name: \"TVA\",\r\n            field: \"tva\",\r\n            width: 200,\r\n            type: \"select\",\r\n            visibility: 1,\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"ventes_ann\",\r\n            name: \"Ventes Ann.\",\r\n            field: \"ventes_ann\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"fromTo\",\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"nom_fournisseur\",\r\n            name: \"Fabricant\",\r\n            field: \"nom_fournisseur\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"select\",\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"qteug_ligcom\",\r\n            name: \"UG\",\r\n            field: \"qteug_ligcom\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"fromTo\",\r\n            isSum: true,\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"pareto\",\r\n            name: \"Pareto\",\r\n            field: \"pareto\",\r\n            width: 200,\r\n            visibility: 1,\r\n            type: \"select\",\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"code_uv\",\r\n            name: \"code_uv\",\r\n            field: \"code_uv\",\r\n            width: 1,\r\n            maxWidth: 0,\r\n            visibility: 0,\r\n            cssClass: \"hidden\",\r\n            headerCssClass: \"hidden\",\r\n            notParam: true\r\n        },\r\n        {\r\n            id: \"retour_ligcom\",\r\n            name: \"Cat&eacute;gorie\",\r\n            field: \"retour_ligcom\",\r\n            type: 'select',\r\n            editor: Slick.Editors.Text,\r\n            cssClass: \"editCell\",\r\n            width: 200,\r\n            visibility: 1,\r\n            sortable : true\r\n        },\r\n        {\r\n            id: \"fakeId\",\r\n            name: \"fakeId\",\r\n            field: \"fakeId\",\r\n            width: 1,\r\n            maxWidth: 0,\r\n            visibility: 0,\r\n            cssClass: \"hidden\",\r\n            headerCssClass: \"hidden\",\r\n            notParam: true\r\n        }\r\n];\r\n```\r\n\r\nThere is my code to set the grouping: \r\n```javascript\r\ndataView.setGrouping({\r\n        getter: \"retour_ligcom\",\r\n        formatter: function (g) {\r\n                return g.value;\r\n        },\r\n        aggregators: [],\r\n        aggregateCollapsed: true,\r\n        lazyTotalsCalculation: true\r\n});\r\n```\r\nOptions set to the slickgrid:\r\n```javascript\r\nvar options = {\r\n        syncColumnCellResize: true,\r\n        editable: true,\r\n        enableCellNavigation: true,\r\n        asyncEditorLoading: false,\r\n        autoEdit: false\r\n};\r\n```\r\n\r\nGrouping rows are not even defined as `slick-group` class ...\r\n\r\n![image](https://user-images.githubusercontent.com/43415884/52329717-c62adb80-29f3-11e9-97ad-cce70edb4cc7.png)\r\n\r\nPlease someone help me I've tried everything to make this work.\r\n\r\nUsing last version of original Slickgrid"}}
{"actor":{"display_login":"SilentXHeroes"}}