return "<a href='stream/channel/" + r.id + "'>Play</a>";
}
}
- ]
+ ],
+ sort : {
+ field : 'number',
+ direction : 'ASC'
+ }
});
}
baseParams : {
table : 'cwc',
op : "get"
- }
+ },
+ sortInfo : {
+ field : 'username',
+ direction : 'ASC'
+ }
});
var grid = new tvheadend.tableEditor('Code Word Client', 'cwc', cm, rec, [],
filters : filters
});
+ var sort = null;
+ if (conf.sort)
+ sort = conf.sort;
+
/* Store */
var store = new Ext.data.JsonStore({
root : 'entries',
totalProperty : 'total',
fields : fields,
remoteSort : true,
- pruneModifiedRecords : true
+ pruneModifiedRecords : true,
+ sortInfo : sort
});
/* Model */
op : 'servicetypeList'
},
fields : [ 'val', 'str' ],
- autoLoad : false
+ autoLoad : false,
+ sortInfo : {
+ field : 'channelname',
+ direction : 'ASC'
+ }
});
var fm = Ext.form;
url : 'api/mpegts/network/create'
}
},
- del : true
+ del : true,
+ sort : {
+ field : 'networkname',
+ direction : 'ASC'
+ }
});
}
return "<a href='stream/mux/" + r.id + "'>Play</a>";
}
}
- ]
+ ],
+ sort : {
+ field : 'name',
+ direction : 'ASC'
+ }
});
}
return "<a href='stream/service/" + r.id + "'>Play</a>";
}
}
- ]
+ ],
+ sort : {
+ field : 'svcname',
+ direction : 'ASC'
+ }
});
}