This question is locked. New answers and comments are not allowed.
since that the other thread have been locked (link) , i will write my message here!
heres a summary of the behavior: the grid makes an ajax request initially when empty and ajax
is enabled
heres the workaround if you don't want to fire an ajax request on empty grid:
$.fn.tGrid = function(options) { options = $.extend({}, $.fn.tGrid.defaults, options); return this.each(function() { options = $.meta ? $.extend({}, options, $(this).data()) : options; if (!$(this).data('tGrid')) { var grid = new $t.grid(this, options); $(this).data('tGrid', grid); if (grid.$tbody.find('tr.t-no-data').length) grid.ajaxRequest(); } });}i understand that many developers use this behavior (send an ajax requestion automaticly if the grid is initialized with empty data) and that you can't change the code as easly as we would but maybe you could add a boolean property SendAjaxRequestOnEmptyGrid on the grid?. Because the problem with the workaround is that we need to patch the code for each new version that you release!
hope that this feature would be considerated!
alex