Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
380
RowEditDialog - Setting input widths
posted

How can I change the width of my input fields to allow one of the fields to be multi-line and have a width that spans the length of the table?

I have tried editing the html.

<script id="dialogTemplate" type="text/html">
<div style='float: left; width: 100%'>
<strong>${Name}</strong><br />
<table style='width: 700px;'>
<colgroup>
<col style='width: 30%;' />
<col style='width: 200%;' />
</colgroup>
<tbody data-render-tmpl="true"></tbody>
</table>
</div>
</script>

<script id="editorsTemplate" type="text/html">
<tr>
<td style='color: black;'>${headerText}</td>
<td ><input data-editor-for-${key}="true" style='color: black; width: 1000px;' /></td>
</tr>
</script>

Nothing seems to make a difference.