-
27 Feb 2013 12:24 AM #11
This is fixed.
The top level locked pseudo grid (it's a container) now relays events from the Editing pluginSearch the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
27 Feb 2013 12:26 AM #12
-
20 Mar 2013 5:22 AM #13
getPlugin() doesn't work with locked column
getPlugin() doesn't work with locked column
There is still an issue when you try to get the plugin by getPlugin() function...
Code:// Column model for directory grid. var directoryColumnModel = [{ header: Label.all.AccessCode, dataIndex: "accessCode", width: 150, sortable: true, locked: true, editor: accessCodeEditor, renderer: formatAccessCode }, { header: Label.all.Calendar, dataIndex: "calId", width: 150, sortable: true, editor: calendarEditor, renderer: formatCalendar }...Code:modeDirectoryPanel = new Ext.grid.Panel({ title: Label.all.DirectoryMode, id: "modeDirectoryPanel", name: "modeDirectoryPanel", store: directoryStore, cls: "centeredElement", frame: false, columns: directoryColumnModel, maxHeight: GRID_HEIGHT, minHeight: GRID_HEIGHT, dockedItems: [{ xtype: 'toolbar', dock: 'top', items: [addDdiDirectoryModeButton] }], plugins: [{ ptype: 'cellediting', pluginId: "ddiModeDirectoryGridEditor", clicksToEdit: 1 }],...the getPlugin() function return undefined if first column is locked, else there is no issue...Code:modeDirectoryPanel.getPlugin("ddiModeDirectoryGridEditor").startEdit(0, 0);
-
20 Mar 2013 2:22 PM #14
That grid does not have an editing plugin. It's just a container.
Not sure what to do here. You could just get the plugin from the first grid in the container.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
21 Mar 2013 12:28 AM #15
So now, I just wonder how to use the enableLocking attribut?
The plugin works fine with IHM events, but I can't get the plugin via javascript functions....
The lockableScope should make editing pluging works with locked columns, doesnt it?
Have you got an example for it?
Have you got a syntax example to do it?You could just get the plugin from the first grid in the container
Thank you.
You found a bug! We've classified it as
EXTJSIV-8268
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote