Cxgrid GridMode is equal to True.

Source: Internet
Author: User
When using grid mode, the data controller loads a fixed number of dataset records into memory. the number of records to be loaded depends on the GridModeBufferCount property value. A user is permitted to perform data-related operations on the loaded records only."
Hi I am using a bunch of bound grids which have non trivial queries and for some reason the automatic SQL record count embedded in the query component gives me garbage. one way to solve that is to go to the last record, then the first and use the dataset recordcount but it is a bit slow. all these grids are in GridDBTableView1.DataController. dataModeController. gridMode: = true; I thought I cocould get The record count from the grid itself I triedGridDBTableView1.itemcount> gives me 2 ????? GridDBTableView1.DataController. recordCount GridDBTableView1.ViewData. recordCountAll of which gave me some WRONG values I am sure in one of those properties you must have the correct number, if it is the case be kind enough to let me knowThank you & Regards

When GridMode is set to true, Grid. DataControl. RecordCount is only a part of the number in the dataset. The number of rows depends on

GridModeBufferCount

Cxgrid GridMode is equal to True.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.