TableHeadFixer icon indicating copy to clipboard operation
TableHeadFixer copied to clipboard

Two tables One page in bootstrap

Open iangonsal opened this issue 9 years ago • 7 comments

I am trying to use two tables on one page. Nested inside a bootstrap grid row of two columns. The table ID can't be used twice on one page.

I tried to assign a different id on the second table and also copy an modify the .js file without luck.

Can you help with tihs please?

[email protected]

iangonsal avatar Mar 08 '16 04:03 iangonsal

Hello, yes I can try help you, of course.

Maybe can you show me your code?

lai32290 avatar Mar 08 '16 04:03 lai32290

Basically a copy of your code.

Player Round 1 Round 2 Round 3 Round 4 Round 5 Remarks
Ian Gonsal 100.00 100.00 100.00 100.00 100.00 Eliminated Round one 3 and 1 Mark Cameron
Ed Lui 110.00 110.00 110.00 110.00 110.00 550.00
Mike Stott 110.00 110.00 110.00 110.00 110.00 550.00
YB Rai 110.00 110.00 110.00 110.00 110.00 550.00
Neil Keating 110.00 110.00 110.00 110.00 110.00 550.00
Carel Rossouw 110.00 110.00 110.00 110.00 110.00 550.00
Marty Van den Burg 110.00 110.00 110.00 110.00 110.00 550.00
Jason Waldie 110.00 110.00 110.00 110.00 110.00 550.00
Mark Hall 110.00 110.00 110.00 110.00 110.00 550.00
Chris Williams 110.00 110.00 110.00 110.00 110.00 550.00
Stew Porter 110.00 110.00 110.00 110.00 110.00 550.00
Jim Buckett 110.00 110.00 110.00 110.00 110.00 550.00
Tiku Patidar 110.00 110.00 110.00 110.00 110.00 550.00
Tim Johns 110.00 110.00 110.00 110.00 110.00 550.00
Iain Houston 110.00 110.00 110.00 110.00 110.00 550.00
  <div class="col-md-6”>Here is where I want to put in another fixed header table. So two tables on the one page.

Also

I would also like to control the width of the fixed column. It looks OK on Firefox but Chrome is always too wide. I can’t seem to control it. Excuse my clumsy code. But it doesn’t seem to work anyway.

Many thanks

Regards

Ian Gonsal

+852 97382184 +61 405 644 684

[email protected] http://[email protected]/ [email protected] mailto:[email protected]

08 Mar 2016

On 8 Mar 2016, at 12:39, lai32290 [email protected] wrote:

Hello, yes I can try help you, of course.

Maybe can you show me your code?

— Reply to this email directly or view it on GitHub https://github.com/lai32290/TableHeadFixer/issues/20#issuecomment-193603650.

iangonsal avatar Mar 08 '16 04:03 iangonsal

Any luck ? Or is the code not specific enough?

Thanks

iangonsal avatar Mar 08 '16 22:03 iangonsal

Any luck getting two tables on one page?

iangonsal avatar Mar 13 '16 07:03 iangonsal

Hello iangonsal, sorry for my late.

I created a new example with two table fixed, maybe is helpful for you

lai32290 avatar Mar 14 '16 14:03 lai32290

Great

Thanks so much. I’m looking forward to trying it.

Regards

Ian Gonsal

+852 97382184 +61 405 644 684

[email protected] http://[email protected]/ [email protected] mailto:[email protected]

15 Mar 2016

On 14 Mar 2016, at 22:34, lai32290 [email protected] wrote:

Hello iangonsal, sorry for my late.

I created a new example with two table fixed, maybe is helpful for you

— Reply to this email directly or view it on GitHub https://github.com/lai32290/TableHeadFixer/issues/20#issuecomment-196336993.

iangonsal avatar Mar 14 '16 21:03 iangonsal

You can see this new example here: https://github.com/lai32290/TableHeadFixer/blob/master/examples/fixMultiTable.html

lai32290 avatar Mar 15 '16 12:03 lai32290