J.Roos
Forum Replies Created
-
Hi Tobias,
Problem solved by removing the first empty record.
Thanks a lot,
Regards J. Roos
Dear Tobias,
We are sorry that sorting the date column does not work well on the table “dossiers”, menu “Vereniging” on our site http://www.pijnacker-noord.nl.(Sorting date fields of other TablePress tables on our site works fine.)
Here are 3 images of the first 5 records and 2 fields (Nr, Date) of the table “dossiers”: 1) initial state and sorted 2) up and 3) down.
1) Initial state
Nr Date
130 19/06/2018
129 16/05/2018
128 16/02/2018
127 15/02/2018
126 24/01/20182) Sorting ^
52 01/01/2011
67 01/01/2012
1 01/02/1973
68 01/03/2012
6 01/04/20063) Sorting V
7 31/05/2006
35 30/11/2009
81 30/01/2013
86 29/04/2013
34 27/11/2009Thanks for your help
Regards, Jaap Roos
Hi Tobias,
Subject: Sorting Date problems site http://www.pijnacker-noord.nl and http://www.wp-n1.nl (our development site)
We have 2 tables on each site with this date format: “Agenda” on the homepage and “Dossiers” as a sub of “Vereniging”
We want to sort the date field in these tables which are all based on the dd/mm/yyyy format.
On pijnacker-noord.nl the data column in “Agenda” works fine, the date column in “Dossiers” seems to sort as a textfield.
In all cases the problem seems to stick to the table “Dossiers” on http://www.pijnacker-noord.nl because when I export the table “Dossiers”
from http://www.pijnacker-noord.nl to a test table http://www.wp-n1.nl the problem sticks to this table.With XL I tested that all date values are correct
I tried the custom assignment “columnDefs”: [ { “type”: “date-eu”, “targets”: [ 1 ] } ] with no succes. (The column then cannot be sorted at all).
You advised earlier the following plug-in options:
#content .tablepress-id-2 .column-2 {
width: 100px;
}#content .tablepress-id-2 {
margin-left: -10px !important;
}Thanks for your help
Regarsd, Jaap Roos
Hi Tobias,
Thanks for your swift answer.
This works fine. Might it be possible to place the decription field show #records field and the search field within the tablewidth as well?Thanks in advance.
Regards Jaap
Hi Tobias,
Thanks for your swift answer.
This works fine to reduce the column width for all columns together. However, I want the table-width reduced accordingly. Might that be possible? And how can the table be centered on the page?Thanks in advance.
Regards Jaap
Hi Tobias,
To display the table I use the phrase:
[table id=11 datatables_row_details=true datatables_row_details_columns=”C-G” /]Table11 has the following columns:
Datum (date),
Onderwerp (subject),
Aanvangs- en eindtijd (starting and end time),
Locatie (location),
Adres (adress),
Categorie category),
Beschrijving (decription),
Auteur (author),
Datum plaatsing (publishing date).I am looking for a method to decrease the width of the initial table (column date & decription individally or both colums together).
Thanks in advance.
Regards Jaap
Hi Tobias,
Thanks for your swift reply. And it works! Besides, I will truncate the “Title”-field entries which contain redundant information e.g. date values.
Thanks again and regards,
Jaap
Hi Tobias,
Thanks for the marvellous product TablePress.
I encounter however the same problem as beautifulliar. I want table “dossiers” cantered on the page and the date information (format: 24-okt-16) in 1 line (which is already the case with Firebox but not with Chrome).
I unchecked horizontal scrolling and entered
.tablepress-id-2 {
width: auto;
margin: 0 auto 1em !important;
}
in the frontend options.
I tried horizontal scrolling by using the TablePress extension and many other recommendations from the TablePress documentation. I don’t see any effect or result.Please advise.
site http://www.pijnacker-noord.nl/dossiers/
Thanks in advance, Jaap Roos