Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
joo.classLoader.prepare("package ext.config",/* {

import joo.JavaScriptObject;*/

 * This is a utility class that can be passed into a <a href="Ext.grid.ColumnModel.html">Ext.grid.ColumnModel</a> as a column config that provides an automatic row numbering column. <br/>Usage:<br/> <pre><code>// This is a typical column config with the first column providing row numbers
 var colModel = new Ext.grid.ColumnModel([
 new Ext.grid.RowNumberer(),
 {header: "Name", width: 80, sortable: true},
 {header: "Code", width: 50, sortable: true},
 {header: "Description", width: 200, sortable: true}
 * <p>This class serves as a
 * typed config object for constructor of class RowNumberer.</p>
 * <p>Copyright &#169; 2011 Sencha Inc.</p>
 * @see ext.grid.RowNumberer
"public class rownumberer extends joo.JavaScriptObject",2,function($$private){var $1=joo;return[ 

  "public function rownumberer",function rownumberer(config/*:Object = null*/) {if(arguments.length<=0)config=null;


   Any valid text or HTML fragment to display in the header cell for the row number column (defaults to '').
  "public native function get header"/*():String*/,

   * @private
  "public native function set header"/*(value:String):void*/,

   The default width in pixels of the row number column (defaults to 23).
  "public native function get width"/*():Number*/,

   * @private
  "public native function set width"/*(value:Number):void*/,

undefined];},[],[], "0.8.0", "2.0.11"
New to GrepCode? Check out our FAQ X