2 "name" : "Roo.grid.GridView",
10 "memberOf" : "GridView",
29 "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>",
30 "memberOf" : "Roo.util.Observable",
37 "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.",
40 "isConstructor" : false,
42 "memberOf" : "Roo.grid.GridView",
51 "desc" : "By default the footer is hidden. Pass true to show the panel",
59 "desc" : "Roo.Element"
64 "name" : "fitColumns",
65 "desc" : "Autofits all columns to the grid's width proportionate with their current size",
67 "isConstructor" : false,
69 "memberOf" : "Roo.grid.GridView",
76 "name" : "reserveScrollSpace",
78 "desc" : "Reserve space for a scrollbar",
87 "desc" : "Focuses the specified row.",
89 "isConstructor" : false,
91 "memberOf" : "Roo.grid.GridView",
100 "desc" : "The row index",
108 "name" : "focusCell",
109 "desc" : "Focuses the specified cell.",
111 "isConstructor" : false,
113 "memberOf" : "Roo.grid.GridView",
122 "desc" : "The row index",
128 "desc" : "The column index",
134 "desc" : "false to disable horizontal scrolling",
142 "name" : "autoSizeColumn",
143 "desc" : "Autofit a column to its content.",
145 "isConstructor" : false,
147 "memberOf" : "Roo.grid.GridView",
160 "name" : "forceMinSize",
162 "desc" : "true to force the column to go smaller if possible",
170 "name" : "getHeaderPanel",
171 "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.",
173 "isConstructor" : false,
175 "memberOf" : "Roo.grid.GridView",
184 "desc" : "By default the header is hidden. Pass true to show the panel",
192 "desc" : "Roo.Element"
197 "name" : "scrollToTop",
198 "desc" : "Scrolls the grid to the top",
200 "isConstructor" : false,
202 "memberOf" : "Roo.grid.GridView",
214 "desc" : "Gets the 'td' of the cell",
216 "isConstructor" : false,
218 "memberOf" : "Roo.grid.GridView",
227 "desc" : "row to select",
233 "desc" : "column to select",
247 "desc" : "Refreshes the grid",
249 "isConstructor" : false,
251 "memberOf" : "Roo.grid.GridView",
258 "name" : "headersToo",
268 "name" : "autoSizeColumns",
269 "desc" : "Autofits all columns to their content and then expands to fit any extra space in the grid",
271 "isConstructor" : false,
273 "memberOf" : "Roo.grid.GridView",
284 "name" : "ensureVisible",
285 "desc" : "Scrolls the specified cell into view",
287 "isConstructor" : false,
289 "memberOf" : "Roo.grid.GridView",
298 "desc" : "The row index",
304 "desc" : "The column index",
310 "desc" : "false to disable horizontal scrolling",
318 "name" : "purgeListeners",
319 "desc" : "Removes all listeners for this object",
321 "isConstructor" : false,
323 "memberOf" : "Roo.util.Observable",
335 "desc" : "Appends an event handler to this element (shorthand for addListener)",
337 "isConstructor" : false,
339 "memberOf" : "Roo.util.Observable",
346 "name" : "eventName",
348 "desc" : "The type of event to listen for",
354 "desc" : "The method the event invokes",
360 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
366 "desc" : "(optional)",
375 "desc" : "Removes a listener (shorthand for removeListener)",
377 "isConstructor" : false,
379 "memberOf" : "Roo.util.Observable",
386 "name" : "eventName",
388 "desc" : "The type of event to listen for",
394 "desc" : "The handler to remove",
400 "desc" : "(optional) The scope (this object) for the handler",
408 "name" : "addEvents",
409 "desc" : "Used to define events on this Observable",
411 "isConstructor" : false,
413 "memberOf" : "Roo.util.Observable",
422 "desc" : "The object with the events defined",
430 "name" : "releaseCapture",
431 "desc" : "Removes <b>all</b> added captures from the Observable.",
433 "isConstructor" : false,
435 "memberOf" : "Roo.util.Observable",
443 "type" : "Observable",
444 "desc" : "The Observable to release",
452 "name" : "removeListener",
453 "desc" : "Removes a listener",
455 "isConstructor" : false,
457 "memberOf" : "Roo.util.Observable",
464 "name" : "eventName",
466 "desc" : "The type of event to listen for",
472 "desc" : "The handler to remove",
478 "desc" : "(optional) The scope (this object) for the handler",
486 "name" : "fireEvent",
487 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
489 "isConstructor" : false,
491 "memberOf" : "Roo.util.Observable",
498 "name" : "eventName",
505 "type" : "Object...",
506 "desc" : "Variable number of parameters are passed to handlers",
514 "desc" : "returns false if any of the handlers return false otherwise it returns true"
519 "name" : "hasListener",
520 "desc" : "Checks to see if this object has any listeners for a specified event",
522 "isConstructor" : false,
524 "memberOf" : "Roo.util.Observable",
531 "name" : "eventName",
533 "desc" : "The name of the event to check for",
541 "desc" : "True if the event is being listened for, else false"
547 "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.",
549 "isConstructor" : false,
551 "memberOf" : "Roo.util.Observable",
559 "type" : "Observable",
560 "desc" : "The Observable to capture",
566 "desc" : "The function to call",
572 "desc" : "(optional) The scope (this object) for the fn",
580 "name" : "addListener",
581 "desc" : "Appends an event handler to this component",
583 "isConstructor" : false,
585 "memberOf" : "Roo.util.Observable",
592 "name" : "eventName",
594 "desc" : "The type of event to listen for",
600 "desc" : "The method the event invokes",
606 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
612 "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>",