Browse by Tags
All Tags » DataGrid » DataRow (RSS)
-
I have such problem:
I need to change foreground color of DataRow's in DataGrid to for example red. The thing is that I have collection of animals in DataGrid and every animal have unique id. In user control that DataGrid is placed i have method that passes me from time to time another collection with just id's, and those animals that match ...
-
In my application, user adds objects from a pool to the grid.
On click of the add action, we are adding the object to datagrid (with cardview), and want to do the following actions on addition.
1. Bring the newly added item to view. (I tried accessing the dataRow, but it is null and I tried BringItemIntoView and observed that it ...
-
I have had a problem that I have finally found a solution.
My users require the ability for the focus to be moved to the first column of the next data row when the press enter on the insertion row. They are happy to use the arrow keys to move around the grid and the tab key whilst in edit mode but when they pressed the Enter key the were very ...
-
Hi,
I'm dealing with the same topic these days and I was wondering if you could help me with the following:
Beside custom coloring of non selected row in the grid, I have to have custom coloring of selected row in the grid as well. I have resolved this request by changing SelectionBackColor and SelectionForeColor on grid on ...
-
I would have expected to just look through the hierachy of controls, but DataRow.Parent is always null...?
<Style BasedOn=''{StaticResource {x:Type DataGrid:DataRow}}'' TargetType=''{x:Type DataGrid:DataRow}''> <Setter Property=''ContextMenu'' ...
-
this little project has a collection of items that have a Boolean property on them, if the property is false data triggert are used in the style to set the background of the cell red, if it is true the property is green.
i would have posted the entire project but i can't work out how to attach files. if anyone could tell me how it would be much ...
-
Hi,I have used the XceedDataGrid and populated the grid with
the DataSet. Now to Keep the things simple i just wanted to get the
value of a cell in the selected row of the when users click on a
particular row...???
-
Can we drag and drop across two data grids in version 3.0? And is there any example.
The excel data grid example only demonstrates the clip board cut and paste but I am looking at is selecting multiple rows from one grid and dragging/dropping them on anther grid.
Any help or guidance would really help me out.
-
Hi
1) question of performance on visible change
I am using the DataGrid for example on a TabItem in a TabControl. Always when i switch back to the tab with the Table it recreates all (visible) rows. Is there a way to suppress the recreation of the rows and just keep the old ones? (the datasource does not change)
2) question of row status ...
-
Hi all,
I'm trying to override CancelEdit on my implementation of the DataRow:
public event EventHandler Edit_Cancel;
public override void CancelEdit(){ base.CancelEdit();
OnCancelEdit(this, EventArgs.Empty);}
public void OnCancelEdit(object sender, EventArgs args){ ...
|
|
|
|