how to merge table row in Jade?

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

how to merge table row in Jade?

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:27 pm

by Scott >> Tue, 4 Nov 2003 13:15:43 GMT

Hi Jade Partner,
I know Jade can merge the columns of table, but you know, sometimes, only merging columns is not enough. To make table more flexible, the row merged is necessary. The row may be an object, but the column may be also an object. I don't know whether it affected the table column merged.

Please advise

Scott
Bizpoint System Pte Ltd

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: how to merge table row in Jade?

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:27 pm

by Patwos >> Tue, 4 Nov 2003 20:35:38 GMT

As far as I'm aware, the Jade Table control does not have a facility for merging rows.

You may be able to simulate a row merge by combining the contents of a given cell with CrLf and the contents of the same cell on the next row. Of course, if what you want is only some cells on row A merged with the equivalent cells on row B, but then you would not have the gridlines on the cells of those two rows which are not vertically merged. You could of course simulate this missing grid with drawLine, but then you'd have to allow for rows and columns being resized and make the appropriate adjustments to your drawLines and the end result might not repaint without some flickering....

It's a pity that Jade tables don't have a merge row facility that allows only some cells on row A to be merged with the equivalent cells on row B while maintaining the horizontal gridlines for those cells that are not merged.

Pat.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 16 guests