Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, is it possible to specify, which columns(document properties) to show in table?
hi petr.
yes. it is possible.
you can edit the usercontrols/childNodeTable/childNodesTable.ascx file for your needs...
you can add a - <TH> in <thead> with your header. and <TD> in <tbody> with your property like this (for example it is string property) :
<td><%=item.getProperty("yourProperty").Value.ToString()%></td>
it will be better if you add your columns after the "default columns" , that way you will not have to change the scripts.js
note that if you are editing the columns it will work well only on documentType with this properties...
next version will contain a columns definition via the dataType setting panel...
Let me know if you get on...
cheers.
Looks like something like this will also be added to 4.9: http://our.umbraco.org/contribute/releases/490/rfc/33203-Container-Document-Types
Jeroen
Hi jeroen.
Nice to hear..
Thanks.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Columns
Hi, is it possible to specify, which columns(document properties) to show in table?
hi petr.
yes. it is possible.
you can edit the usercontrols/childNodeTable/childNodesTable.ascx file for your needs...
you can add a - <TH> in <thead> with your header. and <TD> in <tbody> with your property like this (for example it is string property) :
<td><%=item.getProperty("yourProperty").Value.ToString()%></td>
it will be better if you add your columns after the "default columns" , that way you will not have to change the scripts.js
note that if you are editing the columns it will work well only on documentType with this properties...
next version will contain a columns definition via the dataType setting panel...
Let me know if you get on...
cheers.
Looks like something like this will also be added to 4.9: http://our.umbraco.org/contribute/releases/490/rfc/33203-Container-Document-Types
Jeroen
Hi jeroen.
Nice to hear..
Thanks.
is working on a reply...