Extending the width of an inserted Sublist
Original Post by Eoin McMahon (Imported from Ardevia Forum)
Hi, we just discovered your product and it is really great.
We are wondering if it is possible to change the width of an inserted sublist. For example if we modify a form to include one or more sublists can we increase the width of them to allow them take up the full width of the form as shown below?
-
Original Post by Vitaliy Zadorozhnyy (Imported from Ardevia Forum)
Hi, for now you have to edit source and add style tag for width of the sub list, see for more details: http://www.skybow.com/hubfs/docs/o365/webframe.html#ExpenseReport.html.
Actually you have to replace "E867CA2E-00B8-4EB9-BE06-57A4B01B096C" with specific view id found in source and set desired width in the following sample style:
<style>table[view="E867CA2E-00B8-4EB9-BE06-57A4B01B096C"]{width:1170px;} </style>
And thanks for feedback.0 -
Original Post by Eoin McMahon (Imported from Ardevia Forum)
Hi,
in the source I can only find the following GUIDS for the Sublist, am I missing something?
1. ard-webpart-id="461a497c-f8fa-42cc-a650-59840788782c"
2. ard-sublist-lookup-listid="{bcd51b56-f818-4fc9-9304-14922c36f8f4}"
3. ard-sublist-lookup-webid="{ee98ba10-b348-446b-905e-bed4ae0a97e4}"Below is the div containing the inserted Sublist...
<div class="ard-common-wrapper ms-rteKeepStyles ard-sublist-webpart s4-itm-selected ms-rte-embedcode
ElementHeightSpinner-class ElementWidthSpinner-class" contenteditable="false" ardhascontainer="true"
ardselected="true" ard-webpart-id="461a497c-f8fa-42cc-a650-59840788782c" ard-sublist-lookup-field="LinkedForm"
ard-sublist-lookup-listid="{bcd51b56-f818-4fc9-9304-14922c36f8f4}" ard-sublist-lookup-webid="{ee98ba10-b348-446b-
905e-bed4ae0a97e4}" ard-sublist-title="Individual%20User%20Details" style="display: block;">
<style class="ard-sublist-elements-hide"> #Hero-WPQ4,#MSOZoneCell_WebPartWPQ4 .ms-list-itemLink.ms-
tableCell.ms-alignRight{ display: none } #MSOZoneCell_WebPartWPQ4 .ms-listviewtable.ms-listviewgrid tr:first-
child>th:last-child>*{visibility: hidden;} </style>
<style> #MSOZoneCell_WebPartWPQ4 { display: none } </style>
<div class="ms-rte-embedcode ms-rteKeepStyles ms-core-defaultFont ard-webpart-body ui-resizable">
</div>
</div>
0 -
Original Post by Vitaliy Zadorozhnyy (Imported from Ardevia Forum)
Hi Eoin, you can use for style view ID from ard-webpart-id="461a497c-f8fa-42cc-a650-59840788782c", just make it uppercase, because web part id is actually view id.
<style>table[view="461A497C-F8FA-42CC-A650-59840788782C"]{width:1170px;} </style>
Sorry, had to be more specific and thanks for following.0 -
Original Post by Eoin McMahon (Imported from Ardevia Forum)
this worked perfectly thanks
0
Please sign in to leave a comment.
Comments
4 comments