Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
765
Record counts is wried when a column is selected Group By.
posted

Hi experts,

Please go to this link https://www.igniteui.com/grid/overview 

By default, this example grid is grouped by category, and it has 38 records. If you cancel the groupby, it has only 30 records. It counts the groupby row as a record count. Is there a way to ignore the groupby row? Thanks.

  • 17590
    Verified Answer
    Offline posted

    Hello Srajagopal,

    Thank you for posting in our community.

    GroupBy feature provides pagingMode option which specifies when paging is enabled and teher is at least one grouped column which records to be included in the page processing. It has two possible values:

    • allrecords - all records are included in page processing - data records and group-by meta data records. This is the value by default
    • dataRecordsOnly - only data records are included in page processing. Meta data records are ignored

    //Initialize
    $(".selector").igGrid({
        features: [
            {
                name: "GroupBy",
                pagingMode: "dataRecordsOnly"
            }
        ]
    });

    Please let me know if you need any further assistance with this matter.