This question is locked. New answers and comments are not allowed.
Hi,
Suppose I had a list of records, where each record = {item name, description, price}, sorted by price and displayed in a RadDataGrid.
I'd like for all the rows of identical price to be styled in the same color. something like:
ItemA, DescriptionA, 100.99 > row color=red
ItemB, DescriptionB, 100.99 > row color=red
ItemC, DescriptionC, 77.99 > row color=green
ItemD, DescriptionD, 77.99 > row color=green
ItemE, DescriptionE, 45.99 > row color=yellow
ItemF, DescriptionF, 42.99 > row color=orange
The row colors would be in some matrix {red, green, yellow, orange, blue, purple}.
As each group is identified, the next color, is picked. When we run out of colours, then just use some default.
Even better if it would be some style and not just a color.
How might I go about doing something like this.
Thanks!
Nic
ItemA, DescriptionA, 100.99
ItemA, DescriptionA, 100.99
Suppose I had a list of records, where each record = {item name, description, price}, sorted by price and displayed in a RadDataGrid.
I'd like for all the rows of identical price to be styled in the same color. something like:
ItemA, DescriptionA, 100.99 > row color=red
ItemB, DescriptionB, 100.99 > row color=red
ItemC, DescriptionC, 77.99 > row color=green
ItemD, DescriptionD, 77.99 > row color=green
ItemE, DescriptionE, 45.99 > row color=yellow
ItemF, DescriptionF, 42.99 > row color=orange
The row colors would be in some matrix {red, green, yellow, orange, blue, purple}.
As each group is identified, the next color, is picked. When we run out of colours, then just use some default.
Even better if it would be some style and not just a color.
How might I go about doing something like this.
Thanks!
Nic
ItemA, DescriptionA, 100.99
ItemA, DescriptionA, 100.99