Number of rows Express Express GridView

In System.Windows.Forms.DataGridView this is DataGridView.Rows.Count . But how can I get the number of rows of Dev Express GridView?

+4
source share
4 answers

You will need to get the View inside the GridView , and then access the RowCount Property

+7
source

Dev Express has a grid control and there is a grid control inside this type of grid, so you can use gridview.rowcount to get the number of rows in a gridview.

+1
source

Dim rowCount As Integer = 0 '''declare rowCount as integer to hold the count value

GridView.RowCount = rowCount '''//Now assign the the count to rowCount

+1
source

You can count lines using a CSS class that applies to grid view lines, for example.

 var number = $('tr.dxgvDataRow').length; 
-1
source

Source: https://habr.com/ru/post/1346062/


All Articles