Hello,
On of our UltraGridColumns is displaying texts which contain tabs. These tabs are not visible in the UltraGridCells. But when you click into a cell the tabs appear suddenly. Is it possible to show the tabs always and not only by clicking (activating) a cell?
Best regardisiraider
This is an interesting suggestion and I will create a feature request for you. I will inform you about its number in the following support ticket CAS-46188-HXP01C .
Regards,
Stefaniya
Hi Stefaniya,
Unfortunately I don't understand what you mean by replacing a tab with a corresponding string...I don't want two replace the tab... I want the tab to be displayed always and not to replace it with some space characters or something like that during row initializiation.
But if there is no opportunity to do this I would recommend a feature for future version.For example there could be a property called "ShowTabCharacters" somewhere in the UltraGrid's DisplayLayout.I would create a enumeration for the property's value. The enumeration could contain following values:
DefaultAlwaysNeverOnlyWhenActivated...
Let me know what you think about.
Regards
Hi again,
Please let me know if my suggestion works for you.
- Stefaniya
Hi,
I managed to reproduce this behavior. The dataGridView ,from which the ultraGrid derives, behaves the same way. Before the cell is activated/ selected the ‘\t’ char is not recognized. I can suggest you to use the InitializeRow event of the grid, and if the cell contains tab to replace it with the corresponding string.
Let me know if this works for you.
It doesn't matter how you set the data. You can use a dataset, datatable or ultragriddatasource... On my machine I can reproduce this behavior for every cell whose datatype is string. If you have a string which starts with tab characters you will not be able to see those characters. But after clicking into the cell the string is formatted as expected.
Maybe we are using different Infragistics Versions. I am using 9.1