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
205
How can I define columns in the grid at Design-time & retain in run time.
posted

HOWTO:How can I define columns in the grid at Design-time and bind them at run-time so that some fields of the data are excluded from the grid?

I was going through the above example from knowledge base.

I did define the band and columns with name and set up all properties but at the run with setbinding method it takea all the properties from the data source. Is there anyway I can keep the setup from the design time to thr run time when I am attaching my table at run time.

 Thanks

 Sandy

 

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi Sandy,

    If it's not working, then something about the design-time layout does not match up with the run-time data source. All of the band and column keys must match up exactly. The most common mismatch is in the Key of the Band, since this is often hard to determine.

    What kind of data source are you using at run-time? If its a DataSet, remember that the key of the child band is the name of the relation, not the child table. 

    If that does help, you should Submit an incident to Infragistics Developer Support and include a small sample project demonstrating the problem. 

     

Reply Children