From d169355e688ab121b9f472f8ebd8563c77ca7a99 Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 10 Jul 2014 13:11:36 +0800 Subject: [PATCH] Roo/bootstrap/Table.js --- Roo/bootstrap/Table.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Roo/bootstrap/Table.js b/Roo/bootstrap/Table.js index 07d198815b..823c7cdc08 100644 --- a/Roo/bootstrap/Table.js +++ b/Roo/bootstrap/Table.js @@ -205,6 +205,13 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component, { }, + sort : function() + { + this.store.sortInfo = {field:'created_dt',direction:'DESC'}; + + this.store.load(); + }, + renderHeader : function() { var header = { -- 2.39.2