Project

General

Profile

Patch #151

Extending the JSListpicker

Added by Victor Rojo Carballo over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
09/06/2010
Due date:
% Done:

100%

Estimated time:
Browser (if web client):

Description

Hi Robert!
I add some capabilities to the JSListpicker (v0.9.2) that are useful for me and I think that maybe you want to add them to your module:

*form.editableColumns (Array with the name of the columns that you want to allow edit)
*form.columValuelists (Object with valuelists for the columns that need it. Must be filled like {columName1: valuelistName1, columName2: valuelistName2 ...})
*callback.closeAfterNew (Boolean. If false doesn't close the form after the createNewMethod callback)

These changes allow me to create new records and edit them in the same form. They shouldn't break the behaviour of a JSListpicker v0.9.2.

Best regards.

Victor


Files

patch_Listpicker.txt (2.42 KB) patch_Listpicker.txt Victor Rojo Carballo, 09/06/2010 11:59 AM
patch_Listpicker.txt (2.42 KB) patch_Listpicker.txt Victor Rojo Carballo, 09/06/2010 12:17 PM

History

#1

Updated by Victor Rojo Carballo over 13 years ago

Sorry use this patch, I fixed the property name form.columValuelists->form.columnValuelists (I missed the n after the m in column hehe)

#2

Updated by Robert Ivens over 13 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Patch committed.

Thanks!

Also available in: Atom PDF