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

Reply via email to