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
345
Overlap the row background color
posted

Hi

  I have a situation here where i have set the background alternate to "Light gray" and "white" colors in my grid.

  When i delete a reocrd i have used a trigger, to mark it as delete in "Red color". But this is not working in "Light gray" row, works fine for white colored record.

 I the screen shot I have deleted both 588 and 588 record. Only the one with white one is marked with red the other one remains same.

  Looking forward for a good solutiion.

Parents
  • 17475
    Offline posted

    Hello Rathna, 

    When setting background color for alternate records, you may use BackgroundAlternate property of DataRecordCellArea. I have attached a sample project where backeground color of records si set based on records Tag property. If a user presses the button, the tags of the first and the second records are changed to “del” and their background are changed to red.

    Please feel free to let me know if you need additional assistance on this matter.

    XamDataGridAlternateColor.zip
Reply Children