hello
i would like use a jquery score-rating (like stars) in a colum.
i test with custom_element
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
{ name: 'score', index:'score',width: 120 ,editable: true, edittype: 'custom', editoptions:{ custom_element: function (cellvalue, options, rowObject){ var test = '<div class="rating inline"></div>'; //return $(test)[0]; return test; }, custom_value: function(elem) { return $('input[name="score"]').val(); } }, formatter:function (cellvalue, options, rowObject) { var test = '<div class="rating inline"></div>'; return test; } } |
Thanks for any help.
best regards
Achim
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top