github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

steffen / ext.ux.rowwithcellselectionmodel

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 4
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Ext JS extension — Read more

  cancel

http://www.extjswithrails.com

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Fixed bug where you couldn't select row after you edited it. 
steffen (author)
Tue Aug 12 14:15:03 -0700 2008
commit  4df3962a7e79178b05bd38e5097d687c2e4f84f4
tree    5fb139891085c433544b197c1f9a028a86ebb3da
parent  f16940c84f5235ef3a196073e54cf2b6ddc59d21
ext.ux.rowwithcellselectionmodel /
name age
history
message
file .gitignore Loading commit data...
file README Fri Jun 27 10:39:34 -0700 2008 Did a little clean up and added README file. [steffen]
file RowWithCellSelectionModel.js Tue Aug 12 14:15:03 -0700 2008 Fixed bug where you couldn't select row after y... [steffen]
README
/*  Ext.ux.RowWithCellSelectionModel
 *  (c) 2008 Steffen Hiller (http://www.extjswithrails.com)
 *
 *  License: Ext.ux.RowWithCellSelectionModel is licensed under the terms of
 *  the Open Source LGPL 3.0 license.  Commercial use is permitted to the extent
 *  that the code/component(s) do NOT become part of another Open Source or Commercially
 *  licensed development library or toolkit without explicit permission.
 *
 *  License details: http://www.gnu.org/licenses/lgpl.html
 *
 *  This is an extension for the Ext JS Library, for more information see http://www.extjs.com.
 *--------------------------------------------------------------------------*/


Ext.ux.RowWithCellSelectionModel
================================

This Ext JS extension enables the user to activate the editor of an editable cell in an Ext.grid.EditorGridPanel
through a double click, to navigate through the cells via the cursor keys and select one or multiple rows through
the mouse or through the cursor keys, if no cell is currently selected.
In summary, this selection model is a combination of the two built-in selection models Ext.grid.RowSelectionModel
and Ext.grid.CellSelectionModel.
I created it out of the need to be able to add, edit and delete records in an EditorGridPanel. To delete one or
multiple records, the user needs to select one or multiple rows which is not possible when using the default
Ext.grid.CellSelectionModel.



Usage
=======

new Ext.grid.EditorGridPanel({
  ds: your_data_store,
  cm: your_column_model,
  sm: new Ext.ux.RowWithCellSelectionModel()
});



Alternatives
============

There exists another extension called Ext.ux.grid.RowAction by Jozef Sakalos, aka Saki, which enables you to add
icons with actions to grid rows. You can't delete multiple records at once, but it's worth a look. See 
http://rowactions.extjs.eu/
 
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server