cxgrid GridMode 等於 True 時的一些問題。

來源:互聯網
上載者:User

標籤:style   blog   io   color   ar   os   for   sp   div   

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 could 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 

當 GridMode = true 時, Grid.DataControl.RecordCount 只是dataset裡一部分數量,這個數量行數多少取決於

GridModeBufferCount

cxgrid GridMode 等於 True 時的一些問題。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.