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
690
Summary row appearance questions
posted

I've added a summary row to an UltraGrid (12.1) and, functionally, it's working, but I have a few appearance related issues.

  1. The grid cells that I'm summarizing and the SummaryValueAppearance both have TextHAlign set to HAlign.Right and both have the same format, but the alignment is not quite the same. The summary cell has a small space between the right end of the text and the cell border that is not present in the grid cell.
  2. I've placed fixed text in the first column of the summary row by creating a dummy summary value for the column and setting the display format. However, the grid rows have a row selector and the summary row doesn't, so the text is not aligned. Is there any way to add a row selector to the summary row?
  3. I've removed cell borders by setting BorderStyleCell to none in DisplayLayout.Override. Is there any way to do this in the summary row?

Parents
  • 48586
    posted

    Hello ,

     

    I have tried your scenario to set TextHAlign to Right and the text in summary cells is align just fine for me, maybe you have set some interval (space) on the DisplayFormat property of your summaries. Please see attached sample.

     

    Summary rows couldn’t be selected that is why they have no row selector.

     

    In order to remove borders  of summary cells (rows) you could set BorderColor to Transperant for SummaryValueAppearance or to use DrawFilter in order to skip drawing of the borders. See attached sample which demonstrates both approaches.

     

    Please let me know if you have any further questions

    101919.zip
Reply Children