By default Edit Dialog places the edit fields vertically, one at a line and in the order columns are defined in the grid. Sometimes we may need to change that. The properties that control this behaviour are available for each JQColumn, example:
{
label : 'Company Name',
name: 'CompanyName',
width: 140,
editable: true,
formoptions: {
colpos: 1,
rowpos: 1,
label: "Enter Company Name:",
elmsuffix: "(required)"
}
colpos - defines the column position of the field edit control
rowpos - defines the row position of the field edit control
Note that you can have several edit controls on the same line, just make sure they have the same rowpos, but different colpos.
label - the label to display for editing. If not set, the column DataField (column name) is used
elmpreffix - what to display before the edit control
elmsuffix - what to display after the edit control