dragtable icon indicating copy to clipboard operation
dragtable copied to clipboard

tfoot with colspan

Open flip111 opened this issue 12 years ago • 5 comments

I have a tfoot with a colspan and the dragtable is behaving very weird .. the columns go underneath each other and rows are swapping too

flip111 avatar Jun 19 '13 14:06 flip111

Thanks the the report! Currently there isn't support col or rowspan. It's something I would like to take on, if there is a demand for it and I have a chunk of time. What the use case for using colspan in your table?

On Wednesday, June 19, 2013, flip111 wrote:

I have a tfoot with a colspan and the dragtable is behaving very weird .. the columns go underneath each other and rows are swapping too

— Reply to this email directly or view it on GitHubhttps://github.com/jebaird/dragtable/issues/10 .

Jesse Baird jebaird.com | @jesse_baird http://twitter.com/jesse_baird

jebaird avatar Jun 20 '13 14:06 jebaird

The table footer is used to give a description of the table. In my particular case the table is a preview (and thus has a limited amount of rows) of a much larger table, the footer has the message "this is a preview of 20 rows, click here to download the full table"

flip111 avatar Jun 20 '13 20:06 flip111

Interesting, so it sounds like if the user were to drag a col you are wanting the footer to be moved with it? I'm assuming that you have the footer colspan= the number of cols in the table. Is this the case?

On Thu, Jun 20, 2013 at 3:36 PM, flip111 [email protected] wrote:

The table footer is used to give a description of the table. In my particular case the table is a preview (and thus has a limited amount of rows) of a much larger table, the footer has the message "this is a preview of 20 rows, click here to download the full table"

— Reply to this email directly or view it on GitHubhttps://github.com/jebaird/dragtable/issues/10#issuecomment-19781412 .

Jesse Baird jebaird.com | @jesse_baird http://twitter.com/jesse_baird

jebaird avatar Jun 20 '13 22:06 jebaird

the colspan has the amount of columns... The footer "bar" is just used as a description of the whole table, and therefor should not move when dragging columns.

flip111 avatar Jun 21 '13 16:06 flip111

Alright, I'll take a look into what it would take to add support for col/row span. I should have some time in the next month or so. Thanks!

On Fri, Jun 21, 2013 at 11:27 AM, flip111 [email protected] wrote:

the colspan has the amount of columns... The footer "bar" is just used as a description of the whole table, and therefor should not move when dragging columns.

— Reply to this email directly or view it on GitHubhttps://github.com/jebaird/dragtable/issues/10#issuecomment-19826081 .

Jesse Baird jebaird.com | @jesse_baird http://twitter.com/jesse_baird

jebaird avatar Jun 28 '13 12:06 jebaird