Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Petr Snobelt 923 posts 1535 karma points
    Dec 13, 2011 @ 10:16
    Petr Snobelt
    0

    Hi, is it possible to specify, which columns(document properties) to show in table?

  • gilad 185 posts 425 karma points
    Dec 13, 2011 @ 10:44
    gilad
    0

    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.

  • Jeroen Breuer 4861 posts 12139 karma points MVP 3x admin c-trib
    Jul 25, 2012 @ 10:01
    Jeroen Breuer
    0

    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

  • gilad 185 posts 425 karma points
    Jul 25, 2012 @ 16:37
    gilad
    0

    Hi jeroen.

    Nice to hear..

    Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft