angular-ui / ui-grid

UI Grid: an Angular Data Grid
http://ui-grid.info
MIT License
5.39k stars 2.47k forks source link

Can we avoid Grouping row count in Grouping datatable ? #5745

Open SumeetKhandre opened 7 years ago

SumeetKhandre commented 7 years ago

Angular Grouping Datatable -

If their are 20 records in Brand column.

-When we group brand column then all the records will be in one row - count:1 -If we split this brand grouping - count:21

because one is brand group node and others 20 are records. For this can we avoid counting the grouping row so that we can see only records count?

Pagination is displaying 21 items in one page because it is including group header row as well.

The datatable has search option for every cell. If we search in individual cell, it should show result records.

Please let us know the solution for this. Thank you

Mohana-Lakshmi commented 7 years ago

@SumeetKhandre : I have faced similar issue with pagination count for grouping. Then i have added custom implement for pagination which worked well. Hope the below plunker helps your issue : http://plnkr.co/edit/myDUiu7cdrGopQgn7t2p?p=preview

SumeetKhandre commented 7 years ago

@Mohana-Lakshmi :Thank you for responding. The above link will help to count records and show.

I have tried this but in this example the records are fix i.e 100. And Directly we are shows these records like items. If the table column has search option and if we search(Inline search) something, it will show 100 count, this is wrong(It should show the result count of which i have searched with inline filter). It should show the count how many records are present for that filter.

Thanks in advance.

matthewwiesen commented 7 years ago

:+1:

npnil0808 commented 7 years ago

:+1:

gattml commented 5 years ago

+1