Re: Grid control on OOo 3.3.0

Bernard Marcelly <[email protected]> Thu, 03 Feb 2011 20:23:10 +0100
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
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