I read in the documentation that changing width of List Grid requires creating a each formitem in the JavaScript code. What if my List Grid gets its from an dataSource/xml file? Would I still have to create the items in the JavaScript to change the width of ListGrid columns?
How do I safely change the the list grid column width separately from the form input box items.
My xml/dataSource files currently look like this and it changes strictly the form input box.
<fields>
<field name="adj_type" type="integer" format="#0" width="40" title="AdjustmentType" primaryKey="true" />
<field name="adj_desc" type="text" length="100" width="600" title="Description" />
<field name="sort_seq" type="integer" format="#0" width="40" title="SortSequence" />
<field name="is_credit" type="checkbox" title="Credit?" detail="true" />
<field name="is_actg" type="checkbox" title="Accounting?" detail="true" />
<field name="gl_map" type="text" length="20" width="180" title="G/L Map" />
<field name="is_hidden" type="checkbox" title="Hidden?" detail="true" />
</fields>
How do I safely change the the list grid column width separately from the form input box items.
My xml/dataSource files currently look like this and it changes strictly the form input box.
<fields>
<field name="adj_type" type="integer" format="#0" width="40" title="AdjustmentType" primaryKey="true" />
<field name="adj_desc" type="text" length="100" width="600" title="Description" />
<field name="sort_seq" type="integer" format="#0" width="40" title="SortSequence" />
<field name="is_credit" type="checkbox" title="Credit?" detail="true" />
<field name="is_actg" type="checkbox" title="Accounting?" detail="true" />
<field name="gl_map" type="text" length="20" width="180" title="G/L Map" />
<field name="is_hidden" type="checkbox" title="Hidden?" detail="true" />
</fields>
Comment