Hello,
I'm trying to add a few buttons to a column.
I tried to use the edittype and editoption to the column
edittype: 'button', editoptions: { value: 'D'}
but this works only if I “edit” the line.
I need the buttons to always be visibile and clickable on the grid.
I saw the example “custom edit” and also using the custom formatting, but they both end up with me writing HTML and setting the “action” of the button using an ugly
onclick='myAction(”+opt.rowId+”)'
Is there a better and more “elegant” way to do this? Or is this the only way to do it?
Simone
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top