PM 860 "Home > Users > Groups: La ordenacion de..." SOLVED

Code Issue:
Home > Users > Groups: La ordenacion de 'Groups' se ejecuta solo por pagina
Cause:
Al ordenar Groups este se ordenaba por pagina y no ordenando toda la paginas.
Solution:
Se ha agregado validacion al ordenar los Groups, el mismo permite ordenar todo los datos existentes en el listado.
This commit is contained in:
Luis Fernando Saisa Lopez
2014-11-10 17:33:43 -04:00
parent 6fdc9e8354
commit 7cd3079e55
3 changed files with 20 additions and 7 deletions

View File

@@ -212,6 +212,7 @@ Ext.onReady(function(){
});
store = new Ext.data.GroupingStore( {
remoteSort: true,
proxy : new Ext.data.HttpProxy({
url: 'groups_Ajax?action=groupsList'
}),
@@ -243,8 +244,8 @@ Ext.onReady(function(){
{id:'GRP_UID', dataIndex: 'USR_UID', hidden:true, hideable:false},
{header: _('ID_GROUP_NAME'), dataIndex: 'CON_VALUE', width: 400, align:'left'},
{header: _('ID_STATUS'), dataIndex: 'GRP_STATUS', width: 130, align:'center', renderer: render_status},
{header: _('ID_USERS'), dataIndex: 'GRP_USERS', width: 100, align:'center'},
{header: _('ID_TASKS'), dataIndex: 'GRP_TASKS', width: 100, align:'center'}
{header: _("ID_USERS"), dataIndex: "GRP_USERS", sortable: false, width: 100, align:"center"},
{header: _("ID_TASKS"), dataIndex: "GRP_TASKS", sortable: false, width: 100, align:"center"}
]
});