Hi,
I have an ultraGrid which is linked to a DataTable that contains a list of rights. Each user has a set of rights. I would like to display the grid with all rights and then automatically select the ones the user already has. Then I must be able to change some rights (by selecting new ones or unselecting others) and click on a "Modify" button. It should directly modify my datatable.
Does winGrid handles that ?
Answer still very concise thanks a lot Mike, that's everytime very clear !
See ya for further askings ..!
lepierrot said:I'd like to transform the Grid component's properties so that the user may select the entire row when he clicks on a cell.
See the CellClickAction property on the override.
lepierrot said:I'd like to remove the grey border column on the left which allow to select the entire row at the moment.
See the RowSelectors property on the Override.
lepierrot said:Each row should be Selected or Unselected, but no need to keep pressing Ctrlkey to select another row.
The grid's selection behavior can't support this. You might want to use a CheckBox rather than Selection if you need to select multiple rows without using Ctrl or Shift.
I haven't been specific enough !
In fact when I bind my ultraGrid with my dataTable, the result is two columns and as many rows as there should be. No problem on this side.
I precise I haven't set any parameters on my ultraGrid, just bound this way : this.ultraGrid1.DataSource = myDataTable.
Now here is what Id like to do:
I'd like to transform the Grid component's properties so that the user may select the entire row when he clicks on a cell. I'd like to remove the grey border column on the left which allow to select the entire row at the moment.
Each row should be Selected or Unselected, but no need to keep pressing Ctrlkey to select another row.
In fact it should looks like a list.
You're gonna tell me why are you using grid instead of using list view .. But I use DataTables which are pretty convenient for my case !
Is that possible ?
Your question is a bit open-ended.
It sounds like the WinGrid will be able to do what you need, yes. You can certain display lists of data in the grid and allow the users to edit that data.
Is there some particular aspect of this you are having trouble with?