To create a sublist with a fixed number of rows (e.g., 'list' instead of 'inlineeditor' style), and also allow the user to edit the values in the cells of the sublist, you have to set the display type of the fields you add to the sublist.
var list = form.addSubList( 'var_record', 'list', 'List', 'custpage_list');
list.addField( 'custtext', 'text', 'Text' ).setDisplayType('entry');
No comments:
Post a Comment