I have selected few rows from data grid (say the selected count becomes 5)and then refreshed the page, the count of selected rows still remains the same.
Related
How can I add trash icon next to data row to delete that (row) value from datasource?
I have data rows: #datasource.item.Type #datasource.item.Color and #datasource.item.Item
There are some drop down values for those items, e.g. blue, red etc.
No allowNull value is available in the drop down, but I would like to be able to delete data in that row.
I have two grids with DHTMLX. I want to pick one row from first and drag it to the other table. When I drop the row, the information stays in a particular cell.
If I have, for example, 3 columns like ID, TEXT, and NUMBER, I would like to stay in the second table in a particular cell and this say for example ID-TEXT-NUMBER.
I can move rows between tables, but not one cell only.
Any idea?
Unfortunately the cell dragging is not supported in the dhtmlxGrid.
I have a table printed in a flowed form that exceed the number of row in the page and goes in overflow in the subsequent page ; there is a way to count the number of rows present ONLY in the subsequent page and not in the entire table ?
By using this "xfa.host.currentPage", you can get the current page the row/field is on.
And then do the summation of the rows based on the page number.
I used 30 checkboxes in a table, 5 rows and 6 columns. 5 checkboxes are in each row.
I need to satisfy two conditions within this table.
The first condition is when three Checkboxes are selected continuously it should display ("You can't select continuous hours").
Next condition is, it shouldn't select more than three checkbox in each row.
How can I accomplish this?
I am using Devexpress XtraGrid Control, Here I can count the number of rows in footer of grid. but for this I need to set count property of SummeryItem in grid for at least one column. I dont want to do like this.
I want count number of rows in xtraGrid without referring any one column in grid. I just want to show number of rows count. when user will filter that rows, at that time count also need to be changed.
Is there any option to show this number in Group header panel?
I'd use BaseView.RowCount to get the row count and draw it within CustomDrawGroupPanel event.
You can use the customsummarycalculate event to count the number of rows currently shown in the filtered collection and display it in the summary area (generally, I put that text in the summary area of the ID field for the collection I'm using - as I never have a need to put anything else there).
I don't know if this is an update but:
int i = view.SelectedRowsCount;