- if (!this.toSortField) {\r
- this.downIcon = el.createChild({tag:'img', src:this.iconDown, style:{cursor:'pointer', margin:'2px'}});\r
- el.createChild({tag: 'br'});\r
- this.toBottomIcon = el.createChild({tag:'img', src:this.iconBottom, style:{cursor:'pointer', margin:'2px'}});\r
- }\r
- if (!this.readOnly) {\r
- if (!this.toSortField) {\r
- this.toTopIcon.on('click', this.toTop, this);\r
- this.upIcon.on('click', this.up, this);\r
- this.downIcon.on('click', this.down, this);\r
- this.toBottomIcon.on('click', this.toBottom, this);\r
- }\r
- this.addIcon.on('click', this.fromTo, this);\r
- this.removeIcon.on('click', this.toFrom, this);\r
- }\r
+ this.addIcon = el.createChild({tag:'img', src:this.iconRight, style:{cursor:'pointer', margin:'2px'}});\r
+ el.createChild({tag: 'br'});\r
+ this.removeIcon = el.createChild({tag:'img', src:this.iconLeft, style:{cursor:'pointer', margin:'2px'}});\r
+ el.createChild({tag: 'br'});\r
+ this.downIcon = el.createChild({tag:'img', src:this.iconDown, style:{cursor:'pointer', margin:'2px'}});\r
+ el.createChild({tag: 'br'});\r
+ this.toBottomIcon = el.createChild({tag:'img', src:this.iconBottom, style:{cursor:'pointer', margin:'2px'}});\r
+ this.toTopIcon.on('click', this.toTop, this);\r
+ this.upIcon.on('click', this.up, this);\r
+ this.downIcon.on('click', this.down, this);\r
+ this.toBottomIcon.on('click', this.toBottom, this);\r
+ this.addIcon.on('click', this.fromTo, this);\r
+ this.removeIcon.on('click', this.toFrom, this);\r