Bernard , Frank, Oliver,
Folowed this thread with great interest, because i believe that Dialogs
are the way to make a controllable Frontend to our databases. One remark:
We can also implement a DatasourceBrowser in a dialog, less coding with
more functionality (for the moment).
My hope is that we finaly can add some "contional" colors to rows and
clomuns in this new Grid Control and it will become as easy as
implementing a DatsourceBrowser :-)
Greetz
Fernand.
OK, found my bug !
I had declared one column too many. The column of the row headers must
not be defined.
Using Oliver code adding the control to the dialog, my grid example
throws GridInvalidDataException : number of items per row does not
match the number of columns.
With the method of inserting the control model to the dialog model,
there is no exception and no display. In my opinion the same exception
should be raised.
I see that the row header column cannot be resized with the mouse. If
the RowHeaderWidth is set too low some headers may be unreadable. It
would be a nice improvement to allow resize by mouse.
I will continue to play with the Grid control :-)
Bernard
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org