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
1800
Grid validation grouping as a new row
posted

Is there a way to group all validation information (business rules) that a row has violated and display them in a row below the row.

I can have a exception column styled' as image button. On click of that button, i should show the single row that lists all the business rules that have been violated. The idea is to consolidate all information and display it to the user instead of throwing message boxes.

Like this..

 

 

Parents
  • 469350
    Suggested Answer
    Offline posted

    There's nothing built-in to the grid to do this, but there are a number of ways you might acheive what you are describing, or something similar.

    One way you might consider is using the RowAutoPreview feature. Basically, what you would do is set the AutoPreviewField on the band to a hidden, unbound column. Then you set the value of the cell in this hiden column to the error text you want to display. For most rows, where the value of the hidden column is null, nothing will display. But when you assign a value, it will show up under the row.

     

Reply Children