hello, i am not sure whether i am asking something trivial, but i got to ask !!
i usually assign the grid's datasource to a List<BusnsObjects>. So all the public properties of the business object are shown on the grid.
then in the Initializelayout method of the grid i usually do the following
1. Hide the columns that the user doesnot need to know
2. Also Exclude from column chooser some internal ID fields
But for Business Objects that have List of other objects as a part of them, when assigned to the grid will show the hierarchy.
What i want to do is make sure only the base properties are shown on the grid(also on the column chooser) ?
say when i double click on the row i could show a usercontrol containing the complete details.
Chethan Shetty said:What i want to do is make sure only the base properties are shown on the grid(also on the column chooser) ?
If you mean you only want to show the root-level and not show any child bands, then all you have to do is set grid.DisplayLayout.ViewStyle to SingleBand.