2 "name" : "Roo.grid.GridView",
10 "memberOf" : "GridView",
28 "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>",
29 "memberOf" : "Roo.util.Observable",
35 "name" : "getFooterPanel",
36 "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.",
38 "isConstructor" : false,
40 "memberOf" : "Roo.grid.GridView",
49 "desc" : "By default the footer is hidden. Pass true to show the panel",
57 "desc" : "Roo.Element"
62 "name" : "fitColumns",
63 "desc" : "Autofits all columns to the grid's width proportionate with their current size",
65 "isConstructor" : false,
67 "memberOf" : "Roo.grid.GridView",
74 "name" : "reserveScrollSpace",
76 "desc" : "Reserve space for a scrollbar",
84 "desc" : "Focuses the specified row.",
86 "isConstructor" : false,
88 "memberOf" : "Roo.grid.GridView",
97 "desc" : "The row index",
104 "name" : "focusCell",
105 "desc" : "Focuses the specified cell.",
107 "isConstructor" : false,
109 "memberOf" : "Roo.grid.GridView",
118 "desc" : "The row index",
124 "desc" : "The column index",
130 "desc" : "false to disable horizontal scrolling",
137 "name" : "autoSizeColumn",
138 "desc" : "Autofit a column to its content.",
140 "isConstructor" : false,
142 "memberOf" : "Roo.grid.GridView",
155 "name" : "forceMinSize",
157 "desc" : "true to force the column to go smaller if possible",
164 "name" : "getHeaderPanel",
165 "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.",
167 "isConstructor" : false,
169 "memberOf" : "Roo.grid.GridView",
178 "desc" : "By default the header is hidden. Pass true to show the panel",
186 "desc" : "Roo.Element"
191 "name" : "scrollToTop",
192 "desc" : "Scrolls the grid to the top",
194 "isConstructor" : false,
196 "memberOf" : "Roo.grid.GridView",
206 "desc" : "Gets the 'td' of the cell",
208 "isConstructor" : false,
210 "memberOf" : "Roo.grid.GridView",
219 "desc" : "row to select",
225 "desc" : "column to select",
239 "desc" : "Refreshes the grid",
241 "isConstructor" : false,
243 "memberOf" : "Roo.grid.GridView",
250 "name" : "headersToo",
259 "name" : "autoSizeColumns",
260 "desc" : "Autofits all columns to their content and then expands to fit any extra space in the grid",
262 "isConstructor" : false,
264 "memberOf" : "Roo.grid.GridView",
273 "name" : "ensureVisible",
274 "desc" : "Scrolls the specified cell into view",
276 "isConstructor" : false,
278 "memberOf" : "Roo.grid.GridView",
287 "desc" : "The row index",
293 "desc" : "The column index",
299 "desc" : "false to disable horizontal scrolling",
306 "name" : "purgeListeners",
307 "desc" : "Removes all listeners for this object",
309 "isConstructor" : false,
311 "memberOf" : "Roo.util.Observable",
321 "desc" : "Appends an event handler to this element (shorthand for addListener)",
323 "isConstructor" : false,
325 "memberOf" : "Roo.util.Observable",
332 "name" : "eventName",
334 "desc" : "The type of event to listen for",
340 "desc" : "The method the event invokes",
346 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
352 "desc" : "(optional)",
360 "desc" : "Removes a listener (shorthand for removeListener)",
362 "isConstructor" : false,
364 "memberOf" : "Roo.util.Observable",
371 "name" : "eventName",
373 "desc" : "The type of event to listen for",
379 "desc" : "The handler to remove",
385 "desc" : "(optional) The scope (this object) for the handler",
392 "name" : "addEvents",
393 "desc" : "Used to define events on this Observable",
395 "isConstructor" : false,
397 "memberOf" : "Roo.util.Observable",
406 "desc" : "The object with the events defined",
413 "name" : "releaseCapture",
414 "desc" : "Removes <b>all</b> added captures from the Observable.",
416 "isConstructor" : false,
418 "memberOf" : "Roo.util.Observable",
426 "type" : "Observable",
427 "desc" : "The Observable to release",
434 "name" : "removeListener",
435 "desc" : "Removes a listener",
437 "isConstructor" : false,
439 "memberOf" : "Roo.util.Observable",
446 "name" : "eventName",
448 "desc" : "The type of event to listen for",
454 "desc" : "The handler to remove",
460 "desc" : "(optional) The scope (this object) for the handler",
467 "name" : "fireEvent",
468 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
470 "isConstructor" : false,
472 "memberOf" : "Roo.util.Observable",
479 "name" : "eventName",
486 "type" : "Object...",
487 "desc" : "Variable number of parameters are passed to handlers",
495 "desc" : "returns false if any of the handlers return false otherwise it returns true"
500 "name" : "hasListener",
501 "desc" : "Checks to see if this object has any listeners for a specified event",
503 "isConstructor" : false,
505 "memberOf" : "Roo.util.Observable",
512 "name" : "eventName",
514 "desc" : "The name of the event to check for",
522 "desc" : "True if the event is being listened for, else false"
528 "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.",
530 "isConstructor" : false,
532 "memberOf" : "Roo.util.Observable",
540 "type" : "Observable",
541 "desc" : "The Observable to capture",
547 "desc" : "The function to call",
553 "desc" : "(optional) The scope (this object) for the fn",
560 "name" : "addListener",
561 "desc" : "Appends an event handler to this component",
563 "isConstructor" : false,
565 "memberOf" : "Roo.util.Observable",
572 "name" : "eventName",
574 "desc" : "The type of event to listen for",
580 "desc" : "The method the event invokes",
586 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
592 "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>",