I have a requirement to implement the text in a column as an link to another page. I have successfully managed this requirement by implementing the createwidget function.
createwidget: function (row, column, value, cellElement) {
var $el = $(cellElement);
$el.removeClass('jqx-grid-widget').addClass('jqx-grid-cell-left-align').attr('style', '').css('margin-top', '4px').append($('<a />').attr('href', 'http://www.someaddresshere.com').html(value));
}
because I do not require init widget, but it is mandatory, I have implemented an empty function:
initwidget: function (row, column, value, cellElement) { }
However now whenever I attempt to sort the grid by clicking on any of the header columns, all other columns will sort, but this column does not get redrawn.
Is there a way around this?