Is it possible to conditional style a column in the xaml
If the value of that cell is 0 or null then it should have bgcolor red
Currently I am doing this in cellcontrolAttached
by checking the column key and then based on the value styling the cell
Can it be done just using xaml?
I gave the below in xaml
<ig:TextColumn.ConditionalFormatCollection> <ig:LessThanOrEqualToConditionalFormatRule Value="0" StyleToApply="{StaticResource SomeColumnStyle}" /> </ig:TextColumn.ConditionalFormatCollection>
This works but I always have to give scroll up down for this to work
Is that a bug?
After i scroll datagrid i am able to get the given style
That sounds like an older bug, are you sure you using the latest service release?
That looks like the Brushes.xaml file is in a project that either A) does not have a reference to the required DLL or B) the xmlns declaration at the top has the version number in it and it can't find that particular version.
Little closer to the issue
I deleted the Reference that I had for the XamGrid
Removed the xamgrid from the page
Added a new one
It started giving error in the Styles file that
Error 6 Could not load file or assembly 'InfragisticsSL4.v10.3, Version=10.3.20103.2159, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified. C:\l\Assets\Brushes.xaml 1 1 Projename
I did a quick test
Any of my new application work well(Bugs are fixed)
But for old applications the Service release isnt getting applied
I had most of the places with code
private void XamGrid1_CellExitedEditMode(object sender, Infragistics.Controls.Grids.CellExitedEditingEventArgs e) { e.Cell.Row.Cells["test"].Refresh(); //XamGrid1.InvalidateData(); }
The InvalidateData is used in older apps and the new app that I created today I dont need to give InvalidateData for any cell change
How to resolve this
Why isnt the service release getting applied for the existing apps?!
It is quite strange
It does not happen with the sample I have created but it does happen with my actual application
Anything that must be missing?
Both have same type of controls
I am going to need a sample showing this behavior.