jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • sira
    Participant

    I can override Ajax with loadServerData, but grid not working.
    It cannot filter or sort and records fix at 20 row only,if more than records of empty.
    Can you tell me loadServerData Sample ?

    Below this my code:

    var dataAdapter = new $.jqx.dataAdapter(dataSource, {loadServerData: function (postdata, source, callback)
    	{
    		$.ajax({
    			url: source.url,
    			data: postdata,
    			type: "POST",
    			async: true,
    			global: false,
    			success: function (data, status, xhr)
    			{
    				if ($.isFunction(source.beforeprocessing))
    				{
    					source.beforeprocessing(data, status, xhr);
    				}
    				var records = $.parseJSON(data);
    				dataAdapter.loadjson(null, records, source);
    				callback({records: dataAdapter.records, totalrecords: records[0].TotalRows});
    			}
    		});
    	}});

    sira
    Participant

    I need group separator in Number Input without signs of prompt Char

Viewing 2 posts - 1 through 2 (of 2 total)