Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
434
Value based appearance for entire row, and undesired split scroll effect
posted

HI,

Two hopefully quite quick questions about the grid:

1) I love the value based appearance stuff, but is there any way of making it apply to a whole row rather than just a single column? Eg, have a red background for the entire row if column 'A' has it's checkbox ticked?

2) We have a couple of grids in different solutions which keep on switching on a sort of split scrolling effect, ie, there are two copies of the grid's column set displayed side by side, and each can be scrolled independently. I know this is a feature, but for the grids in question we've never enabled it, and can't seem to switch it off. I can make the extra region disappear by dragging its associated splitter all the way to the left of the grid, but eventually it will appear again.

 

Kevin

Parents
  • 69832
    Suggested Answer
    Offline posted

    1) I don't think so because values are a function of the cells, so a row does not really have a concept of a value. What you could do here is handle (for example) the CellChange event and set the associated row's Appearance when the value for the column in question changes.

    2) Somewhere in code you must be splitting a ColScrollRegion; you can search for "ColScrollRegions" to find the code that is responsible for this. Another possibility is that you are loading a saved layout that has multiple ColScrollRegions. In either case, you can clear the UltraGrid.DisplayLayout.ColScrollRegions collection to remove the split(s).

Reply Children