Browse by Tags
All Tags » DataTrigger (RSS)
-
I would like to change the background color of the
rows when the user has made a change to them, then return to normal
colors when the changes are saved (or reverted), as I have done with
other apps (using Windows Forms' DataGridView). I'm just not sure how
it will work in Xceed's DataGrid. Here's my best guess as to what needs
to be ...
-
I have spent several days trying to find a way to change the colour of individual cells based on their value and/or the values of other data elsewhere in the grid. However, although there seems to be a lot of questions on the forums by users, the answers aren't really conclusive. I have read and contributed to several ...
-
ok jenny was absolutely right, my above solution works, but it happens that some rows seem to dissapear ocasionaly,i think it's due loose of viewport or someth...anyway here's working example similar to what jenny was telling to do...it is done with filterRow, but the same way would work with groupByControl:
1.u need something where u will ...
-
Hi,
I have read several posts about this operation but unfortunately I could not find one that matches what I am trying to do.
I have a DataTable with a variable number of columns and rows that I am binding to the DataGridControl. If any cell is set to 1.0 (double, not string) I need to change its background color to Red. I don't know the ...
-
Hi,
I have the simple problem that the binded dataobject (for the datarow) has an array[columns.length] (named CellColors) which contains the colors for the datacells in that row. I tried to define a style with a DataTrigger to set the Background of the cells. That works, but how I can get the index (or the columnname) of the column ...
-
Hi All,
Issue:
I have been using DataTriggers to change formatting of xceed's DataRow on data binding. It worked fine when I was using DataTable as ItemsSource. Later, to implement AutoFiltering, I changed my code base to using DataGridControlView as ItemsSource. From that, the DataTriggers stopped working what is the problem in that? My ...
-
Hello ,
I have been searching for pointers as to how to change the foreground color of a Datacell to red if the value is negative and to green if the value is positive.
I thought of using Datatriggers , but the problem is that the comparison in DataTriggers is always equation there is no way I can say that a value is > or < than zero ...
-
Hi,
http://xceed.com/CS/forums/thread/13963.aspx
Is this identified as a bug?
DataTrigger works as expected, but binding exceptions are thrown. We unit test our bindings - and are unable to do so in all views where DataTriggers are set on rows.
Thanks,
simon
-
Someone please help ...
My scenario is that if the user chooses a particular value (combobox) in one column of the grid, another column must either allow him to select further values or it becomes ''not applicable''. The closest solution I've managed to find was here http://pstaev.blogspot.com/2008/06/having-different-celleditor-for.html. ...
-
I've got something similar I've had to solve, it might help you to find a solution.
I have a row with a checkbox that has to be enabled or disabled based on a boolean value in the row. So I made a datatrigger. Here's my code:
<Style TargetType=''{x:Type ...
|
|
|
|