jQWidgets Forums
Forum Replies Created
-
Author
-
I got answer to this problem …Never give width or height of jqx grid like ‘98%’ it should be like 700.
give me any email id so that, i can show you screen shot.
It is coming inside tabe but its s not set as per page it just show 2 column unless i press CTRL with
“+” sign.June 6, 2013 at 7:15 am in reply to: bind chart with JSON fromajex request bind chart with JSON fromajex request #22688But earlier i was doing like that only.
Tell me how to do so. using data adapter.
and see my first post to give me idea as a sample code (i want my C# data method to be in url).June 5, 2013 at 9:12 am in reply to: bind chart with JSON fromajex request bind chart with JSON fromajex request #22619You mean to say like this..
var sampleData;
sampleData = {
dataType: ‘json’,datafields: [
{ name: ‘Day’ },
{ name: ‘Swimming’ }
],
data: “{}”,
async: false,
record: ‘Table’,
localdata: “Trial.aspx/GetChartSourse”
// success: function (data) {
// if (data.d != ”) {
// sampleData = data.d;
// alert(“Data=”+sampleData);
//// }
};
var dataAdapter = new $.jqx.dataAdapter(sampleData, { async: false, autoBind: true, loadError: function (xhr, status, error) { alert(‘Error loading “‘ + sampleData.url + ‘” : ‘ + error); } });June 5, 2013 at 8:35 am in reply to: bind chart with JSON fromajex request bind chart with JSON fromajex request #22614Then how to link My C# method to data adapter,As my method return lsit in json formate.
The demo which you have shown takjes data from txt file where in i wont generic data from object return from my C # method -
AuthorPosts