Advertisement
Guest User

Untitled

a guest
Mar 19th, 2017
120
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Ext.require('Ext.grid.plugin.CellEditing');
  2.  
  3. function MyEditableGrid({ store }) {
  4.     return (
  5.         <Grid
  6.             store={store}
  7.             plugins={{ptype: 'cellediting', clicksToEdit: 1}}
  8.             columns={[
  9.                 { text: 'Name', dataIndex: 'name', flex: 1, editor: 'textfield' },
  10.                 ...
  11.             ]}
  12.         />
  13.     )
  14. }
Advertisement
RAW Paste Data Copied
Advertisement