Hi,
I'm trying to set a custom cell style for the XamGrid, In addition to that I also want to do Conditional formatting on a particular column. I attached the image of the grid. As seen in the picture i need the customecell style to apply for columns and then have the databar style over it. But I could not find a way to do this. At a time I could have only have one style. Is there a way to do this?
Please refer to that thread - http://community.infragistics.com/forums/p/53660/277543.aspx#277543, I think that you will find the answer there. Generally, you have to set the CellStyle property of the XamGrid explicitly.
Do not hesitate to ask if you need more information.
Regards
The post you sent solved my issue. But I'm facing another issue with the custom styling. It seems to have impacted the performance of the grid. The scrolling seems to become slower and also while i scroll sometimes the cells do not render the correct style instead show a white background. The same issue happens when I sort as well. The correct color appears when i hover over the grid.
We are aware of that issue, but we still don't have a timeframe for a fix.
In the latest service release (shipped just few days ago) we have a fix that will improve the performance of the XamGrid in scenarios with Conditional Formatting.
The development team is looking at the issue you describe. I opened a case (Case Number: CAS-63580-94NDDZ) so you can be notified when a resolution is found.
Is there a workaround for this issue till the issue is solved? Also I had another question regarding the grid. Is there a way to simulate the filtering on the grid. I have a search box in addition to the filtering row. Hence when I enter a value in the search box I need the grid to begin filtering. I tried the following code but it doesnt seem to work:
RowsFilter filter = new RowsFilter(typesof(String), _grid.Columns[0] as Column);
ComparisonCondition condition = new ComparisonCondition();
condition.Operator = ComparisonOperator.Contains;
condition.FilterValue = ViewModel.FilterString;
filter.Conditions.Add(condition);
_keywordsgrid.FilteringSettings.RowFiltersCollection.Add(filter);
I got the filtering to work. So I just need to know about the workaround for the grid's performance.
Thanks for all your help.