Open andreash1972 opened 2 years ago
Hi. as the developers did not found any solutions for years to make this nice plugin responsive, please give us more example about how did you used this plugins till now, (because I was not able to replicate your example) to understand the mechanism and to find a compatibility for Igor eventually
Hi. as the developers did not found any solutions for years to make this nice plugin responsive, please give us more example about how did you used this plugins till now, (because I was not able to replicate your example) to understand the mechanism and to find a compatibility for Igor eventually
Hi Floffyko,
thank you for responding me. I try to do my best to describe it in english. If you like, we can get even in contact for a Teamviewer-Session, so I can describe it by phone and I can show you the reaction live.
On the following page you will find a real live example: https://www.pflebit.de/doku.php?id=kb:w:start
To get what I need, I installed the following plugins:
EditTable plugin https://www.dokuwiki.org/plugin:edittable
tablelayout plugin https://dokuwiki.org/plugin:tablelayout
Table Width Plugin http://www.dokuwiki.org/plugin:tablewidth
The tablelayout plugin usually works with the units "px" oder the parameter "-". The Problem is, that in cols with more than one word, the col does a line break, so in the end there are two or more rows in a cell. To change this behavior, I like to use "%" as unit. Till now, the tablelayout plugin doesn't support this behavior.
I tried a little bit around and installed additionally the Table Width Plugin. With this plugin, a "normal" table could have cols with a width in "%".
I combined the functions of both plugins in my Wiki source-code like this:
{{tablelayout?rowsHeaderSource=1&rowsVisible=0&colwidth="15%,15%,68%"&float=left&tableSort=1&tableSearch=1}} |< 98% >| ^ Aktualisiert am ^ Kategorie ^ Titel ^ | 2022.06.29 | Management | [[kb:w:management-stundensatzkalkulation-tarifvertrag]] | | 2022.05.29 | Management | [[kb:w:vorlage-geschaeftsbrief]] | | 2022.05.06 | EDV | [[kb:w:excel-ag-brutto-berechnen-an-netto-berechnen]] |
With Dokiwiki Version "Hogfather" I used this solution till about 12 month without any problem. Yesterday I updated my system with the version "Igor RC 2". After that, the table seemed at the beginning normal. But when I klick on the "edit" button of my table, than make a change and than save the changes, the Dokuwiki source-code is changed like that:
{{tablelayout?rowsHeaderSource=1&rowsVisible=0&colwidth="15%,15%,68%"&float=left&tableSort=1&tableSearch=1}} |< 98% >| {{tablelayout?rowsHeaderSource=1&colwidth="15%,15%,68%"&float=left&tableSort=1&tableSearch=1}} ^ Aktualisiert am ^ Kategorie ^ Titel ^ | 2022.06.29 | Management | [[kb:w:management-stundensatzkalkulation-tarifvertrag]] | | 2022.05.29 | Management | [[kb:w:vorlage-geschaeftsbrief]] | | 2022.05.06 | EDV | [[kb:w:excel-ag-brutto-berechnen-an-netto-berechnen]] |
So, you can see, that there is a new second line under the line with the 98% value. In consequence, the cols are inflated.
Now, I do not know, if the "error" comes from one of the plugins or the Dokuwiki core installation. Anyhow, may be it is possible for you to integrate the funktionality in the tablelayout plugin, so the table width plugin will be obsolet.
Thank you!
Kind regards Andreas
Hi Andreas. You are really a fighter :-) Thanks for your extended explanation. Like you guest, yes, I was able replicate your success. Nice idea. About DW incompatibility: do you have XBR plugin?
Hi Floffyko, thank you for your answer. I didn't knew the XBR Plugin before. But it doesn't solve my whole problems, because I like to get a table, where the cols have a width like I wish before. So the %-solution will be still my favorite.
Hopefully the problem can be solved.
Hi,
until today (28.6.2022) I used the following line to get cols with a percentage:
{{tablelayout?rowsHeaderSource=1&rowsVisible=0&colwidth="10%,30%,20%,38%"&float=left&tableSort=1&tableSearch=1}} |< 98% >|
Therefore I installed too the Table Width Plugin to make it work.
Since the new update of Dokuwiki Igor, my two lines doesn't work anymore.
Is there a chance, that the use of percentage in the Plugin Tablelayout will be integrated in the future? It is really important, because otherwise the rows won't take the right width.
Thank you :-)