tbar : [ mapButton, lowNoButton, noUpButton, noDownButton, noSwapButton ],
lcol : [
{
+ width : 50,
header : 'Play',
renderer : function (v, o, r) {
return "<a href='stream/channel/" + r.id + "'>Play</a>";
this.column = function ()
{
+ var w = 300;
var ftype = 'string';
if (this.type == 'int' || this.type == 'u32' ||
- this.type == 'u16' || this.type == 'dbl')
+ this.type == 'u16' || this.type == 'dbl') {
ftype = 'numeric';
- else if (this.type == 'bool')
- ftype = 'boolean'
+ w = 80;
+ } else if (this.type == 'bool') {
+ ftype = 'boolean';
+ w = 60;
+ }
+ if (this.enum || this.list)
+ w = 300;
return {
+ width : w,
dataIndex: this.id,
header : this.text,
sortable : true,
del : true,
lcol : [
{
+ width : 50,
header : 'Play',
renderer : function(v, o, r) {
return "<a href='stream/mux/" + r.id + "'>Play</a>";
tbar : [ mapButton ],
lcol : [
{
+ width : 50,
header : 'Play',
renderer : function(v, o, r) {
return "<a href='stream/service/" + r.id + "'>Play</a>";