Roo/bootstrap/Table.js
[roojs1] / Roo / bootstrap / Table.js
index 07d1988..823c7cd 100644 (file)
@@ -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 = {