Hello
Is there a easy way to switch the col and row in showing (switch horizontal with vertical)? Meaning I will have different numbers of colunms. And in every row there will be a different source, but each row will have the same number of columns.
Usually you have it like this:
datasource1 datasource2 datasource3
1 1a 1aa
2 2a 2aa
3 3a 3aa[/quote]
But I want:
datasource1 1 2 3
datasource2 1a 2a 3a
datasource3 1aa 2aa 3aa
dataviewctrl
Re: dataviewctrl
What I forgot to ask, is it possible to show htmllistbox also inside a dataviectrl? As one of the sources should be shown as html text.
Re: dataviewctrl
No, you'll have to adjust your model accordingly.Is there a easy way to switch the col and row in showing (switch horizontal with vertical)?
Not easily. You'd have to create a new DVC renderer using wxHtmlDCRenderer.What I forgot to ask, is it possible to show htmllistbox also inside a dataviectrl? As one of the sources should be shown as html text.
Use the source, Luke!
Re: dataviewctrl
Thanks, I feared that already, and had the same idea to rewrite the model, so that it will write the right things in the rows, and also add the needed columns. So that should be possible.
Here I understand what you mean, but have no idea how to achieve it.