Back
colBreaks
Editing, Updating and Creating Records
colBreaks
Allows your EDIT/NEW form to be broken up into multiple HTML table columns
Default:
Allows you to have multiple HTML table columns in the EDIT or NEW form. On each column break, you can have a new column title. For example:

$lens->colBreaks = 'productid^Products^bgcolor=#c0c0c0;CATEGORYID^CATEGORY;REORDERLEVEL';

This will create new HTML table columns starting with fields PRODUCTID, CATEGORYID and REORDERLEVEL. The fields PRODUCTID and CATEGORYID will have column titles Products and CATEGORY.

Each column can have additional HTML attributes, and these are defined in the optional 3rd parameter. So the PRODUCTID field has the title Products and the format attribute bgcolor=#c0c0c0.


Also see sectionLens.

Syntax
$lens->colBreaks = 'productid^Products^bgcolor=#c0c0c0;CATEGORYID^CATEGORY;REORDERLEVEL';

 Basic:Yes  Advanced/Enterprise:Yes  DynamicEdit:Yes   [Version 5.0]