Java Script library problem
-
Hi,
I can’t get any of the extensions to work. I can’t find any conflicts with earlier versions. Can you help?
http://www.donnington-grove.com/members-home/seniors-area/seniors-events/seniors-winter-matches/tryme/
Is the table in question
Kind Regards,
John
-
Hi John,
technically, instead of “sadly when imported as a csv into table press, it displays the literal hyperlink”, it’s more “sadly when exported to a CSV by Google, the hyperlink is removed”. That’s why TablePress can not import the link from CSV (it’s just not there), unless it would be there as HTML code.
Importing the table as HTML from Google should work, and a workaround for that extra row that Google adds might be to just hide it in TablePress, as explained above.Regards,
TobiasTobias,
importing as html and hiding works fine.Still getting odd results with fixed left column and scrolling.
JohnHi John,
that’s good to hear.
Where can I see those odd results with the fixed column and scrolling?
On http://www.donnington-grove.com/members-home/seniors-area/seniors-events/seniors-winter-matches/winter-golf/ you seem to have activated the FixedHeader+TableTools Extension, but it’s not being used on any of the three tables.Regards,
TobiasTobias,
Try this one:
http://www.donnington-grove.com/members-home/seniors-area/john22/It loads and scrolls, but as soon as I type one letter in the search box the formatting goes. Adding a second letter, it formats OK
So, it sort of works but looks weird as you enter a search,
JohnHi,
now that looks strange indeed. I have no clue what could going on there.
It sure looks like a bug in the FixedColumns JS code, but as I’m not the developer of that, I’m not sure. Now, there is a new version of that FixedColumns JS library available, where this bug might be fixed already, but I haven’t yet had the time to update the TablePress Extension with it accordingly. I hope to find the time for this soon (I need to finish TablePress 1.5 first, which implements some of the requirements that the new FixedColumns version needs).Regards,
TobiasTobias,
Let me know when you have something or when I can try 1.5
JohnHi John,
you could actually already try the TablePress 1.5-beta: http://tablepress.org/upcoming-tablepress-1-5/
The updated FixedColumns Extension will probably not be ready before the end of the month, sorry 🙁
Regards,
TobiasTobias,
I’ll have a go at 1.5.
Meanwhile, how do I concatenate extensions –
[table id=25 datatables_fixedcolumns=”left”,filter=”yes||playing||reserve||won||lost||halved”/]doesn’t seem to work,
JohnHi,
yes, TablePress 1.5 could maybe help.
For combining Shortcode parameters, just put a space between them, i.e.
[table id=25 datatables_fixedcolumns="left" filter="yes||playing||reserve||won||lost||halved" /]Regards,
TobiasHi Tobias
Fixed column left with scrolling nearly works:
http://www.donnington-grove.com/members-home/seniors-area/seniors-summer-matches/john10/try the players tab, search for “rance” and see there is just a small formatting issue
John
Hi John,
that’s really strange, but as mentioned above, I can’t see what exactly is causing this.
To rule out any interference, can you test this exact table outside of those tabs, i.e. directly in the page?
Regards,
TobiasTobias
Here it is
http://www.donnington-grove.com/members-home/seniors-area/john22/with no search It scrolls but won’t fix the left column
after a search on “rance”, the search works but no scrollingThe plot thickens…
JohnTobias,
even more odd
http://www.donnington-grove.com/members-home/seniors-area/john22/
has fixedcolumn = “right” instead of left and it works quite wellAll have the odd feature that as you type in the search, the table widens and shrinks on each charter entered, but the search works fine.
As a work around I’m going to add a column far right duplicating the names
John
Hi,
thanks for testing that! I do have one idea, coming from a hint in the JS error log console.
Please open the file tablepress-datatables-fixedcolumns.php and comment out line 58 (the one that starts with$parameters['sScrollXInner'] =by prepending double-slashes
//to it and try again.
Regards,
TobiasTobias
Progress! both the pages /22 and /23 work with fixed left and fixed left and right. The jumping on table size with character entry into the search box is also fixed.However, the page wi the table inside the accordian works but the formatting is still wrong
John
The topic ‘Java Script library problem’ is closed to new replies.