Hi Pradeep,
I'm afraid I do not understand your question. Is this related to the original post of this thread? It does not appear to be.
Are you talking about putting images into a cell along with some text or other value? Or do you just want to have a dedicated image column in the grid?
For the former, you would probably appy an Appearance to a cell in the InitializeRow event.
For the latter, you would add a column to the UltraDataSource just like any other column and set it's DataType to Bitmap. Then you could populate the data with Bitmap objects and they would display as images in the grid.
Hi,
Its very urjent requirement for me. Please make it soon.
Hi Mike,
I am having one requirement like,
I need to display images and data on Ultragrid from database. For displaying data, i am adding to Ultradatasource and I am binding the datasource to UltraGrid. In the same way how to add pictures to Ultradatasource and bind it to ultragrid..
Regards,
Pradeep
How exactly are you using the UltraDataSource in this case? What I would do is use it in On-Demand mode. You can take a look at the Million Rows sample to see how this works. Basically, you can set up the pivoted data structure in the UltraDataSource and bind it to the grid. Then you will need to handle events of the UltraDataSource compoment to provide it with data from the list and also to update the list when the data in the UDS is changed.