Hi,
We are making use of alternating appearance in our wingrid. This is turned on through our style file.
So what we gather is this alternate item appearance takes effect across each band, If say, I have 2 bands, the child band also shows the alternate row appearance effect.
What we want to achieve is child rows should have the same appearance as parent row. Right now, we copy all the appearance properties of parent row and set on the child row when row is initialized. The child band is programatically made not to have the alternate row appearance. Is there a cleaner way to achieve this? Is there an easier way for a row in a child band have the same appearance as the parent row.
Thanks
Hello Duncan,
You are handling the situation correctly. The appearance should be set row by row in InitializeRow(). The advice I have is to not create new Appearance objects on each InitializeRow(); if you create an Appearance to use for each case of row and then set the row's Appearance to the appropriate one, this should improve your Grid's performance.
Please look to Formatting and Appearance based Performance Improvement for similar tips on improving your UltraGrid's performance.
Thanks for the reply.
I forgot to mention this. I need the original row appearance sans the selected or active row appearance. How can I get that?