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
20
Binding and formating 2 object properties to a column in WindGrid
posted

I have an object that has numerous properties and I'm trying to format 2 properties to show up on a coumn correctly in WinGrid.

 e.g. Object with properties of ObjectId, ObjectDesc

so I will like to have a formatted string of "ObjectId - ObjectDesc" showing up in runtime. Thanks.

                

 

Parents
No Data
Reply
  • 2334
    posted

    You have a couple options here.

    1. create an unbound column of type string and use a formula to create your desired formatted string

    2. create an unbound column and set the value of the cell to "ObjectId - ObjectDesc" in the InitializeRow Event of the grid

Children
No Data