<br><br><div class="gmail_quote">On Tue, May 24, 2011 at 10:06 AM, Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Tuesday 24 May 2011 10:27:59, Oliver Betz wrote :<br>
<div class="im">> Ever tried to insert a column in HTML or Wiki markup? It's a PITA.<br>
> Even entering or modifying data is extremly inconvenient in markup.<br>
<br>
</div>I have found it easier to split the columns of large simple tables with \ and<br>
start them on new lines preceded by 2 spaces, something like:<br>
<br>
|| row 1 col 1 \<br>
|| row 1 col 2 \<br>
|| row 1 col 3 \<br>
|| row 1 col 4 \<br>
||<br>
|| row 2 col 1 \<br>
|| row 2 col 2 \<br>
|| row 2 merged cols 3 and 4 \<br>
||||<br></blockquote><div><br>I guess something like this could go in tips_n_tricks, wiki_made_easy or perhaps wiki_aesthetics page. <br>Pages showing flexibility in pmwiki's wiki markup. :-)<br><br>Regards.<br>V.Krishn<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
This way I see where each row starts, and I see where each comumn starts -- if<br>
a line in the textarea does not start with || or with space-||, it is a part<br>
of the previous line which wrapped.<br>
<br>
<br>
If I had to manipulate tables with even more complex or large data, I would<br>
probably enter the data rows into different pages as PageTextVariables. For<br>
example, a real estate agency could have such listings:<br>
<br>
Type:3P Appartment<br>
City:Sofia<br>
Location:Gurko Street<br>
Floor:1<br>
Area_m2:90<br>
Parking:0<br>
Price:200000<br>
etc.<br>
<br>
Such rows (objects/elements/articles) could even be added or edited with a<br>
custom PmForm. The table listings can be organized and reorganized any way I<br>
like, at any moment -- it could omit certain columns/properties, etc. The<br>
pagelist can also check and display only active rows/offers (containing<br>
Active:1 variable for example). And it can reorder the rows on any column with<br>
(:pagelist request=1 req=1:) and specially created links in the table<br>
headings.<br>
<br>
Oh, pagelists and PmForms are advanced topics beyond the BasicEditing page :-)<br>
But once you have set the pagelist and the pmform, any user can edit any field<br>
of any row, without reading the documentation.<br>
<font color="#888888"><br>
Petko<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</div></div></blockquote></div><br>