X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/source/RowNumberer.html diff --git a/docs/source/RowNumberer.html b/docs/source/RowNumberer.html index 4b958d5d..dd156a9d 100644 --- a/docs/source/RowNumberer.html +++ b/docs/source/RowNumberer.html @@ -3,8 +3,8 @@ The source code - - + + @@ -16,37 +16,40 @@
/**
- * @class Ext.grid.RowNumberer
- * @extends Ext.grid.column.Column
- * This is a utility class that can be passed into a {@link Ext.grid.column.Column} as a column config that provides
+ * This is a utility class that can be passed into a {@link Ext.grid.column.Column} as a column config that provides
  * an automatic row numbering column.
- * <br>Usage:<br><pre><code>
-columns: [
-    Ext.create('Ext.grid.RowNumberer'),
-    {text: "Company", flex: 1, sortable: true, dataIndex: 'company'},
-    {text: "Price", width: 120, sortable: true, renderer: Ext.util.Format.usMoney, dataIndex: 'price'},
-    {text: "Change", width: 120, sortable: true, dataIndex: 'change'},
-    {text: "% Change", width: 120, sortable: true, dataIndex: 'pctChange'},
-    {text: "Last Updated", width: 120, sortable: true, renderer: Ext.util.Format.dateRenderer('m/d/Y'), dataIndex: 'lastChange'}
-]
- *</code></pre>
+ * 
+ * Usage:
+ *
+ *     columns: [
+ *         {xtype: 'rownumberer'},
+ *         {text: "Company", flex: 1, sortable: true, dataIndex: 'company'},
+ *         {text: "Price", width: 120, sortable: true, renderer: Ext.util.Format.usMoney, dataIndex: 'price'},
+ *         {text: "Change", width: 120, sortable: true, dataIndex: 'change'},
+ *         {text: "% Change", width: 120, sortable: true, dataIndex: 'pctChange'},
+ *         {text: "Last Updated", width: 120, sortable: true, renderer: Ext.util.Format.dateRenderer('m/d/Y'), dataIndex: 'lastChange'}
+ *     ]
+ *
  */
 Ext.define('Ext.grid.RowNumberer', {
     extend: 'Ext.grid.column.Column',
     alias: 'widget.rownumberer',
+
     /**
-     * @cfg {String} text Any valid text or HTML fragment to display in the header cell for the row
-     * number column (defaults to '&#160').
+     * @cfg {String} text
+     * Any valid text or HTML fragment to display in the header cell for the row number column.
      */
     text: "&#160",
 
     /**
-     * @cfg {Number} width The default width in pixels of the row number column (defaults to 23).
+     * @cfg {Number} width
+     * The default width in pixels of the row number column.
      */
     width: 23,
 
     /**
-     * @cfg {Boolean} sortable True if the row number column is sortable (defaults to false).
+     * @cfg {Boolean} sortable
+     * True if the row number column is sortable.
      * @hide
      */
     sortable: false,
@@ -61,7 +64,7 @@ Ext.define('Ext.grid.RowNumberer', {
     },
 
     // private
-    fixed: true,
+    resizable: false,
     hideable: false,
     menuDisabled: true,
     dataIndex: '',