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
230
Exporting Valuelist assigned column to excel sets a blank in excel for the column
posted

Hi -

I have a dataset bound to an ultrawingrid. One of the column [Status] is assigned a ValueList which contains only two values - Approved or UnApproved. Depending on the value for each row, I display an Image in the Status column cell for that particular row. and I am using the following code

                statusList.DisplayStyle = ValueListDisplayStyle.Picture;
                e.Layout.Bands[0].Columns["MapStatus"].ValueList = statusList;
                e.Layout.Bands[0].Columns["MapStatus"].CellActivation = Activation.NoEdit;

where statusList is my ValueList.

Now when I export the rows to excel,I am expecting the actual value [ie either Approved/UnApproved] to be exported to excel, which is not happening.The column is empty when exported. Is there something that I am missing here or how do we accomplish this..?

Thanks

Rajesh

Parents Reply Children