I have an UltraGrid where I want a set of FixedRows at the bottom (...Override.FixedRowStyle = FixedRowStyle.Bottom;). In the InitializeRow event I determine whether a row should be fixed and set the e.Row.Fixed = true. If I have 3 fixed rows and add them in the order I need, they are added from the bottom up rather than in the order I add them. Example, if the rows' first column are 1, 2, 3, I want the order of those rows to be 1,2,3 -- not 3,2,1. I intitially got around this by defering the FixedRowStyle setting till after the grid was loaded which works the first time. But if I reload the grid with different data the fixed rows are again added from the bottom up. How can I solve this? Another question, Can a Fixed row's cells be modified?
Thanks, Ron
I added a Sort Key and SortedColumns which seems to work, but another issue is occurring in that PerfornAutoResize on the grid columns does'nt seem to take in the FixedRows' data which is`wider than the non fixed rows. How do the fixed rows get included in the resizing?
Ron
Hi Ron,
I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have
any other questions.