mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 03:03:23 +02:00
changed toolbar at table
This commit is contained in:
@@ -518,10 +518,10 @@ void TableRenderer::renderProperties(const Table* pTable, const RenderContext& c
|
||||
// })
|
||||
if (pTable->getPagingSize() > 0)
|
||||
{
|
||||
ostr << ",bbar:new Ext.PagingToolbar({";
|
||||
ostr << ",bbar:new Ext.AppinfPagingToolbar({";
|
||||
ostr << "pageSize:" << pTable->getPagingSize() << ",";
|
||||
ostr << "displayInfo:true,";
|
||||
ostr << "displayMsg: 'Displaying topics {0} - {1} of {2}',";
|
||||
ostr << "displayMsg: 'Displaying {0} - {1} of {2}',";
|
||||
ostr << "emptyMsg:'No topics to display',";
|
||||
ostr << "store:tmpLocal})";
|
||||
}
|
||||
|
@@ -1,3 +1,12 @@
|
||||
Ext.AppinfPagingToolbar = Ext.extend(Ext.PagingToolbar, {
|
||||
onRender : function(ct, position){
|
||||
Ext.AppinfPagingToolbar.superclass.onRender.call(this, ct, position);
|
||||
this.loading.hide();
|
||||
}
|
||||
});
|
||||
|
||||
Ext.reg('appinfpaging', Ext.AppinfPagingToolbar);
|
||||
|
||||
Ext.override(Ext.data.ArrayReader, {
|
||||
read : function(response){
|
||||
var data = response.responseText;
|
||||
|
Reference in New Issue
Block a user