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
2945
Multiple cell formats in a column
posted

I have a grid column of type Object.  Some rows are Decimal values, others are Dates.

I've read various articles explaining how to set editors on cells, and when editing them this works fine.  However, I can't work out how to render this so it looks decent.

Ideally I'd like to just set the Format of each cell so I can format my date just as a Time and my Decimals with the required precision.  However, I can only set a format on the column itself.  If I set the format for Decimals, I'm left trying to set a control as the RenderingControl on an UltraControlContainerEditor.  And vice versa if I set the column format to my time.

Is there a better way to do this?  It just looks ugly with the editors rendered there, although perhaps I'm just not finding the best control to do the job.

Thanks.

Parents Reply Children
No Data