Handsontable custom object data -
i trying fill handsontable objects. example:
var data = [ [{title: 'a1', style: '...'}, {title: 'b1', style: '...'}], [{title: 'a2', style: '...'}, {title: 'b2', style: '...'}], ];
now want handsontable renders title attribute cells , not style. style attribute used render cells special fomatting. how tell handsontable use title attribute?
handsontable data not intended give style cells. define cell styles recommend wear link
http://docs.handsontable.com/0.15.1/demo-conditional-formatting.html
but if idea have hidden columns , such code , leave example
<script> var options = { columns: cutobject(data) } function cutobject(data){ return data.slice(1);//hide firt column } </script>
Comments
Post a Comment