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
143
Select a cell in a summaryrow
posted

I have this summaryrow at the top of my grid.
It has the property "SummaryDisplayAreas.TopFixed"

Is it possible to let the user click on a cell and select it in this summaryrow just as in normal rows?

TIA
/S

  • 469350
    Verified Answer
    Offline posted

    There's no buil-in selection capability for summary rows. You could probably implement this yourself, though. What you would have to do is trap the MouseUp event of the grid and use the UIElements to determine if a summary was clicked on and if so, which one. Then you could use the Appearance on the SummarySettings to change the BackColor and ForeColor and make it look selected. You would probably want to keep a list somewhere of which summaries are selected, so that when the summary is clicked you know whether to select or de-select it. 

    Overall, it's probably not that difficult.