Column oriented subform

Comments

2 comments

  • Avatar
    Mario Oenning

    Hi,

     

    Either css or javascript.

    Basically you have to change the width for the subCtrlPreviewCell and columnLabelWrapper elements.

     

    css example:

     

    configure your subform with a css class

    css code

    /* first column */
    .subF .subCtrlPreviewCell:nth-child(1),.subF .columnLabelWrapper:nth-child(1)
    {
    width: 33.33%!important;
    }

    /* second column */
    .subF .subCtrlPreviewCell:nth-child(2),.subF .columnLabelWrapper:nth-child(2)
    {
    width: 13.33%!important;
    }

    ...

     

    If somebody knows a more elegant method, please let me know.

    0
    Comment actions Permalink
  • Avatar
    Scott Bennett

     Perfect  Thanks

    0
    Comment actions Permalink

Please sign in to leave a comment.