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
30
Bound and unbound column in ultragrid
posted

What is the actual ifference between bound and unbound column in ultragrid ?

Parents
No Data
Reply
  • 1560
    Verified Answer
    Offline posted

    Hello,

    I have been looking into your question.
    Bound columns represent the data from UltraGrid's DataSource.
    Unbound columns allows us to define columns that are not directly bound to a field in the underlying data source.

    • Unbound columns are added to the ColumnsCollection returned by Columns property of the UltraGridband.
    • Unbound columns are used for displaying a custom content. Such custom content can be buttons which are not directly related to the underlying data, textbox for adding comments, images etc. More information about Unbound columns and the ways, they could be added to UltraGrid, is avaliable here.

    Following is an example of bound and unbound columns usage.

    Data source is bound to the grid in the designer, by using the ultradatasource component and it is populated with some records. These records will appear in the UltraWinGrid Designer in "Band and Column Settings" and they won't be removable from there because they are bound. These columns  can only be removed in code or by accessing your data source again. However, if they were unbound removing would have been possible.

    IsBound property indicates whether a column is a bound column or an unbound column. 

    Please let me know if you have any additional questions regarding this matter.

    Sincerely,
    Teodosia Hristodorova
    Associate Software Developer

Children