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
9364
Table has lots of fields, Grid should show only a few
posted

- Is there a way to tell the Grid show only these 3 out of 100 columns in the table? I know how I hide the other 97 but I am hoping there is a better way.

- Same question for the child band. The table that is bound to the child band also has numerous fields and I care to show only a few fields on the child band

 

 Thanks!

Parents
No Data
Reply
  • 469350
    Offline posted

    I don't understand your question. You say you know how to hide the columns, but you are asking how you can hide the columns? 

    If by "a better way", you mean a way to remove the columns, then no, there is no way to do that. The grid will create columns based on the fields in the data source. You cannot prevent it from creating a column except by removing or hiding that column in the data source so that it is not returned by the DotNet BindingManager.

Children