This topic is locked

Tab to have all records set to edit by default

10/18/2011 1:55:55 AM
ASPRunnerPro General questions
M
mows author

Hi,
We're looking at setting up a quick edit feature on one tab for our client.
On this tab only two columns will be set to be editable within the list view.

We want the every record to be set to "edit" mode upon entering the tab so that the client does not need to select all then click edit.

We'll limit the number of records displayed so that speed is not an issue.
Is this possible? Any thoughts or suggestions appreciated

Sergey Kornilov admin 10/18/2011

You can enable 'Inline Edit' mode for all records automatically using Javascript API.

Check this article for more info:

http://xlinesoft.com/asprunnerpro/docs/how_to_control_inline_add_edit_functionality_from_script.htm

M
mows author 11/13/2011



You can enable 'Inline Edit' mode for all records automatically using Javascript API.

Check this article for more info:

http://xlinesoft.com/asprunnerpro/docs/how_to_control_inline_add_edit_functionality_from_script.htm


Have tried item #2 from that list without much success.
Q: I'm attempting this in a Custom View. For the tablename reference do I enter the custom view name or the actual table name?
eg

In the following example my table is called Table1 and the custom view called View1
// define table name of current list page:

var tableName = 'View1';

var pageObj = Runner.pages.PageManager.getAt(tableName, pageid);

pageObj.inlineEdit.editAllRecs();

Sergey Kornilov admin 11/14/2011

You need to use the Custom view name here.