From 52f0db54c74d3795c22f8c9578e52506c763c065 Mon Sep 17 00:00:00 2001 From: Alan Date: Tue, 22 Feb 2022 12:06:15 +0800 Subject: [PATCH] split panels into seperate files, and fix code doc --- docs/json/roodata.json | 26 ++++++++++++++++++++++++++ docs/src/Roo_PagingToolbar.js.html | 8 ++++++-- docs/symbols/Roo.PagingToolbar.json | 26 ++++++++++++++++++++++++++ roojs-debug.js | 6 +++++- roojs-ui-debug.js | 6 +++++- 5 files changed, 68 insertions(+), 4 deletions(-) diff --git a/docs/json/roodata.json b/docs/json/roodata.json index f333954e6a..b0ec5f456c 100644 --- a/docs/json/roodata.json +++ b/docs/json/roodata.json @@ -38174,6 +38174,32 @@ } ] }, + { + "name" : "onClick", + "type" : "function", + "desc" : "event that occurs when you click on the navigation buttons - can be used to trigger load of a grid.", + "sig" : "(which)", + "static" : false, + "memberOf" : "", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [ + { + "name" : "which", + "type" : "String", + "desc" : "(first|prev|next|last|refresh) which button to press.", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "show", "type" : "function", diff --git a/docs/src/Roo_PagingToolbar.js.html b/docs/src/Roo_PagingToolbar.js.html index 888bc52403..b9a73549e6 100644 --- a/docs/src/Roo_PagingToolbar.js.html +++ b/docs/src/Roo_PagingToolbar.js.html @@ -255,8 +255,12 @@ this.loading.disable(); } }, - - // private + /** + * event that occurs when you click on the navigation buttons - can be used to trigger load of a grid. + * @param {String} which (first|prev|next|last|refresh) which button to press. + * + */ + // private onClick : function(which){ var ds = this.ds; switch(which){ diff --git a/docs/symbols/Roo.PagingToolbar.json b/docs/symbols/Roo.PagingToolbar.json index e866573925..32b2e607e5 100644 --- a/docs/symbols/Roo.PagingToolbar.json +++ b/docs/symbols/Roo.PagingToolbar.json @@ -128,6 +128,32 @@ ], "returns" : [] }, + { + "name" : "onClick", + "type" : "function", + "desc" : "event that occurs when you click on the navigation buttons - can be used to trigger load of a grid.", + "sig" : "(which)", + "static" : false, + "memberOf" : "", + "isStatic" : false, + "isConstructor" : false, + "isPrivate" : false, + "example" : "", + "deprecated" : "", + "since" : "", + "see" : "", + "exceptions" : "", + "requires" : "", + "params" : [ + { + "name" : "which", + "type" : "String", + "desc" : "(first|prev|next|last|refresh) which button to press.", + "isOptional" : false + } + ], + "returns" : [] + }, { "name" : "unbind", "type" : "function", diff --git a/roojs-debug.js b/roojs-debug.js index 535126fa4d..e6baa3b4ac 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -32403,7 +32403,11 @@ Roo.extend(Roo.PagingToolbar, Roo.Toolbar, { this.loading.disable(); } }, - + /** + * event that occurs when you click on the navigation buttons - can be used to trigger load of a grid. + * @param {String} which (first|prev|next|last|refresh) which button to press. + * + */ // private onClick : function(which){ var ds = this.ds; diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 6169feda76..1b848842e1 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -7934,7 +7934,11 @@ Roo.extend(Roo.PagingToolbar, Roo.Toolbar, { this.loading.disable(); } }, - + /** + * event that occurs when you click on the navigation buttons - can be used to trigger load of a grid. + * @param {String} which (first|prev|next|last|refresh) which button to press. + * + */ // private onClick : function(which){ var ds = this.ds; -- 2.39.2