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
65
BindableValueLists not showing in grid export
posted

Hi,

I've made a lot of use of BindableValueLists to set up options or value decoding in my grids, but I've run into a problem / bug when exporting the grids to Excel.  It appears that the bindablevaluelist does not get properly carried across to the print layout, so my export shows the raw value rather than the text.  This causes serious problems if there is a filter defined on a column with a bound list, as the filter runs against the text, not the value, and so in the print layout all rows are filtered out.

I can work around this in a few ways, either by manually looping through by data sources to create normal valuelists, or using bound comboeditors set to the editorcontrol of the column.

However, it would be nice to know if this is a bug or something I can fix in one place before I go and rework a load of code.  I did wonder whether it might be to do with a change of bindingcontext or something.

Regards

David

 

Parents Reply Children