2 "name" : "Roo.grid.GridView",
10 "memberOf" : "GridView",
30 "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
31 "memberOf" : "Roo.util.Observable"
36 "name" : "getFooterPanel",
38 "desc" : "Gets a panel in the footer of the grid that can be used for toolbars etc.\nAfter modifying the contents of this panel a call to grid.autoSize() may be\nrequired to register any changes in size.",
43 "isConstructor" : false,
55 "desc" : "By default the footer is hidden. Pass true to show the panel",
63 "desc" : "Roo.Element"
68 "name" : "fitColumns",
70 "desc" : "Autofits all columns to the grid's width proportionate with their current size",
71 "sig" : "(reserveScrollSpace)",
75 "isConstructor" : false,
85 "name" : "reserveScrollSpace",
87 "desc" : "Reserve space for a scrollbar",
96 "desc" : "Focuses the specified row.",
101 "isConstructor" : false,
113 "desc" : "The row index",
120 "name" : "focusCell",
122 "desc" : "Focuses the specified cell.",
123 "sig" : "(row, col, hscroll)",
127 "isConstructor" : false,
139 "desc" : "The row index",
145 "desc" : "The column index",
151 "desc" : "false to disable horizontal scrolling",
158 "name" : "autoSizeColumn",
160 "desc" : "Autofit a column to its content.",
161 "sig" : "(colIndex, forceMinSize)",
165 "isConstructor" : false,
181 "name" : "forceMinSize",
183 "desc" : "true to force the column to go smaller if possible",
190 "name" : "getHeaderPanel",
192 "desc" : "Gets a panel in the header of the grid that can be used for toolbars etc.\nAfter modifying the contents of this panel a call to grid.autoSize() may be\nrequired to register any changes in size.",
197 "isConstructor" : false,
209 "desc" : "By default the header is hidden. Pass true to show the panel",
217 "desc" : "Roo.Element"
222 "name" : "scrollToTop",
224 "desc" : "Scrolls the grid to the top",
225 "sig" : "()\n{\n\n}",
229 "isConstructor" : false,
243 "desc" : "Gets the 'td' of the cell",
244 "sig" : "(rowIndex, colIndex)",
248 "isConstructor" : false,
260 "desc" : "row to select",
266 "desc" : "column to select",
281 "desc" : "Refreshes the grid",
282 "sig" : "(headersToo)",
286 "isConstructor" : false,
296 "name" : "headersToo",
305 "name" : "autoSizeColumns",
307 "desc" : "Autofits all columns to their content and then expands to fit any extra space in the grid",
308 "sig" : "()\n{\n\n}",
312 "isConstructor" : false,
324 "name" : "ensureVisible",
326 "desc" : "Scrolls the specified cell into view",
327 "sig" : "(row, col, hscroll)",
331 "isConstructor" : false,
343 "desc" : "The row index",
349 "desc" : "The column index",
355 "desc" : "false to disable horizontal scrolling",
362 "name" : "purgeListeners",
364 "desc" : "Removes all listeners for this object",
365 "sig" : "()\n{\n\n}",
367 "memberOf" : "Roo.util.Observable",
369 "isConstructor" : false,
383 "desc" : "Appends an event handler to this element (shorthand for addListener)",
384 "sig" : "(eventName, handler, scope, options)",
386 "memberOf" : "Roo.util.Observable",
388 "isConstructor" : false,
398 "name" : "eventName",
400 "desc" : "The type of event to listen for",
406 "desc" : "The method the event invokes",
412 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
418 "desc" : "(optional)",
427 "desc" : "Removes a listener (shorthand for removeListener)",
428 "sig" : "(eventName, handler, scope)",
430 "memberOf" : "Roo.util.Observable",
432 "isConstructor" : false,
442 "name" : "eventName",
444 "desc" : "The type of event to listen for",
450 "desc" : "The handler to remove",
456 "desc" : "(optional) The scope (this object) for the handler",
463 "name" : "addEvents",
465 "desc" : "Used to define events on this Observable",
468 "memberOf" : "Roo.util.Observable",
470 "isConstructor" : false,
482 "desc" : "The object with the events defined",
489 "name" : "releaseCapture",
491 "desc" : "Removes <b>all</b> added captures from the Observable.",
494 "memberOf" : "Roo.util.Observable",
496 "isConstructor" : false,
507 "type" : "Observable",
508 "desc" : "The Observable to release",
515 "name" : "removeListener",
517 "desc" : "Removes a listener",
518 "sig" : "(eventName, handler, scope)",
520 "memberOf" : "Roo.util.Observable",
522 "isConstructor" : false,
532 "name" : "eventName",
534 "desc" : "The type of event to listen for",
540 "desc" : "The handler to remove",
546 "desc" : "(optional) The scope (this object) for the handler",
553 "name" : "fireEvent",
555 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
556 "sig" : "(eventName, args)",
558 "memberOf" : "Roo.util.Observable",
560 "isConstructor" : false,
570 "name" : "eventName",
577 "type" : "Object...",
578 "desc" : "Variable number of parameters are passed to handlers",
586 "desc" : "returns false if any of the handlers return false otherwise it returns true"
591 "name" : "hasListener",
593 "desc" : "Checks to see if this object has any listeners for a specified event",
594 "sig" : "(eventName)",
596 "memberOf" : "Roo.util.Observable",
598 "isConstructor" : false,
608 "name" : "eventName",
610 "desc" : "The name of the event to check for",
618 "desc" : "True if the event is being listened for, else false"
625 "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
626 "sig" : "(o, fn, scope)",
628 "memberOf" : "Roo.util.Observable",
630 "isConstructor" : false,
641 "type" : "Observable",
642 "desc" : "The Observable to capture",
648 "desc" : "The function to call",
654 "desc" : "(optional) The scope (this object) for the fn",
661 "name" : "addListener",
663 "desc" : "Appends an event handler to this component",
664 "sig" : "(eventName, handler, scope, options)",
666 "memberOf" : "Roo.util.Observable",
668 "isConstructor" : false,
678 "name" : "eventName",
680 "desc" : "The type of event to listen for",
686 "desc" : "The method the event invokes",
692 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
698 "desc" : "(optional) An object containing handler configuration\nproperties. This may contain any of the following properties:<ul>\n<li>scope {Object} The scope in which to execute the handler function. The handler function's \"this\" context.</li>\n<li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li>\n<li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li>\n<li>buffer {Number} Causes the handler to be scheduled to run in an {@link Roo.util.DelayedTask} delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>\n</ul><br>\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)\n\t\t<pre><code>\n\t\tel.on('click', this.onClick, this, {\n \t\t\tsingle: true,\n \t\tdelay: 100,\n \t\tforumId: 4\n\t\t});\n\t\t</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n<pre><code>\n\t\tel.on({\n\t\t\t'click': {\n \t\tfn: this.onClick,\n \t\tscope: this,\n \t\tdelay: 100\n \t\t}, \n \t\t'mouseover': {\n \t\tfn: this.onMouseOver,\n \t\tscope: this\n \t\t},\n \t\t'mouseout': {\n \t\tfn: this.onMouseOut,\n \t\tscope: this\n \t\t}\n\t\t});\n\t\t</code></pre>\n<p>\nOr a shorthand syntax which passes the same scope object to all handlers:\n \t<pre><code>\n\t\tel.on({\n\t\t\t'click': this.onClick,\n \t\t'mouseover': this.onMouseOver,\n \t\t'mouseout': this.onMouseOut,\n \t\tscope: this\n\t\t});\n\t\t</code></pre>",