>>1. what column-types exist? (label and number I found in the examples). How to specify currency (e.g. $35.00). Can I do my own formating?
column-types:
- label
- input
- number
- datepicker
- colorpicker
- textarea
- button
- checkbox
- progress
to get $35.00:
header: [{...}, {id:'number', cellRenderer:function(cell){return '$'+cell.value;}}, {...}]
>>2. How can I only make one column editable (in my example the checkbox)?
set TreeGrid editable: false
and,
header: [{...}, {id:'checkbox', editable:true}, {...}]
>>3. If I specify label as column-type it is not editable, but it's alway left aligned which is bad for numbers. How to change?
header: [{...}, {id:'number', cellStyle:"text-align:right;"}, {...}]