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
105
Need to get cell text and value when Wingrid is using datasource as ultradatasource
posted

Hi,

I am having UltraDataSource which is having no. of columns & rows same as collection

 

List<List<Obj>> and this UltraDataSource is set as DataSource to UltraGrid.

So indirectly my  Obj object is connectd to UltraGrid cell. When user changs data to grdi cell, with the help of

ultraDataSource1_CellDataRequested &  ultraDataSource1_CellDataUpdating events I update the object.value & ultraDataSource.Data.

Now I want user have DataList for a cell & user can select the data cell Dropdown, Is there any property to get the grid cell Value & Text through UltraDataSource.

  • 469350
    Suggested Answer
    Offline posted

    Hi,

    I'm not sure I understand your question, exactly. But I think what you are looking for is the ListObject property on the UltraGridRow. This property will return the object that the row represents in from the underlying data source. So in this case the row.ListObject will return the UltraDataRow from the UltraDataSource. So you can get any data from the row you want.