I have a requirement to implement a screen to show information in a grid with distinct columns/data for each button click(3 buttons).
For e.g., Button1_Click -> Grid must render columns ( Column1, Column2)
Button2_Click -> Grid must render columns ( Column11, Column12, Column13)
Button3_Click -> Grid must render columns ( Column21, Column22, Column23, Column24 etc.,)
I do not want to have 3 different grids for each button click by show/hide and have their exclusive bindings just because i feel it is not a right approach. Also I should be able to bind my data fields appropriately to the columns. I really appreciate if someone can share their experience to achieve this in a manageable and scalable way. Hope the scenario is self explanatory. Thanks in advance.