jQWidgets Forums
Forum Replies Created
-
Author
-
November 29, 2017 at 10:50 am in reply to: How to display format Numbers in jqxGauge How to display format Numbers in jqxGauge #97618
Hi Stanislav,
Thank you for that, but i think that you’ve missed my point,
The data i’m using in guage are very high numbers and i need thousands separator to be displayed in
both guage caption and guage scale label.
How can i achieve that?Thanks in advance
November 20, 2017 at 9:26 am in reply to: Edit heirarchial TreeGrid Edit heirarchial TreeGrid #97435Hristo,
Thank you so much!!!!
October 25, 2017 at 11:23 am in reply to: JqxPivotGrid and json data JqxPivotGrid and json data #96920Hi Hristo,
thank you for your response and example,When ever i set my data as a local json array everything is working like expected.
The problem occurs when i’m receiving json data from remote data source and not as local data.like your example just like your example:
var source2 = { localdata: jsonData,
datatype: “json”,
datafields: [ { name: ‘??’, type: ‘string’ },
{ name: ‘??’, type: ‘string’ },
{ name: ‘??’, type: ‘string’ },
{ name: ‘??’, type: ‘string’ },
{ name: ‘??’, type: ‘number’ },
{ name: ‘??’, type: ‘number’ },
{ name: ‘??’, type: ‘number’ } ]
};No Data loaded:
var source2 = { url: “/???/????????”, type: “POST”,
datatype: “json”, datafields: [ { name: ‘??’, type: ‘string’ },
{ name: ‘??’, type: ‘string’ },
{ name: ‘??’, type: ‘string’ },
{ name: ‘??’, type: ‘string’ },
{ name: ‘??’, type: ‘number’ },
{ name: ‘??’, type: ‘number’ },
{ name: ‘??’, type: ‘number’ } ]
};Can you please check this case again with remote json data?
November 10, 2016 at 6:53 pm in reply to: jqxValidator closeOnClick not working jqxValidator closeOnClick not working #88962Hi Ivailo,
I’m working on the latest version of course.
I found the problem,
jqxValidator works perfectly fine when using jquery-1.11.1.min, but not when using jquery-3.1.1.min, it looks like a bug to me…Please note/check, close on click not working when using 3.1.1, only when using 1.11.1 version.
Is there a way to fix this?
Thanks,
Libi.March 22, 2016 at 3:43 pm in reply to: expand group by current date expand group by current date #82727This is the workaround I’ve made,
Please advice if there is an easier way:in grid bindingcomplete:
var rows = $(‘#jqxgrid’).jqxGrid(‘getdisplayrows’);
var arr = [];for (var i = 0; i < rows.length; i++)
{
var row = rows[i];
var newDate = new Date(row.ds);if (arr.indexOf(newDate.valueOf()) == -1)
arr.push(newDate.valueOf());
}var tmp = new Date(year, new Date().getMonth(), new Date().getDate());
var indexOfCurrentDate = -1;if (arr.indexOf(tmp.valueOf()) != -1)
indexOfCurrentDate= arr.indexOf(tmp.valueOf());$(‘#jqxgrid’).jqxGrid(‘addgroup’, ‘ds’);
var group = $(‘#jqxgrid’).jqxGrid(‘getgroup’, indexOfCurrentDate);March 22, 2016 at 10:59 am in reply to: expand group by current date expand group by current date #82716Hi Hristo,
Thank you so much for your answer,
Let me try to explain again, I’m grouping my first column witch holds dates, therefore i’m getting grouped display with all dates from 1st till the end of month.
What I need to do is to expand only the row/group that hold today.
For example $(‘#jqxgrid’).jqxGrid(‘getgroup’, 0) -> will open the first group in grid, getdisplayrows returns all rows even if not displayed and the uid i’m getting is not helping me with getgroup function, what I need is the index/uid of “getdisplygroups” (which is not exist…) so I can set it in the getgroup method.help please….
January 31, 2016 at 4:32 pm in reply to: How to line up aggregates under grid columns How to line up aggregates under grid columns #80955January 27, 2016 at 8:22 am in reply to: How to line up aggregates under grid columns How to line up aggregates under grid columns #80828Hi,
I need to line up me aggregates under grid columns but it doesn’t seem to work, what am I doing wrong?var groupsrenderer = function (text, group, expanded, data) {
var text = data.groupcolumn.text + ‘: ‘ + group;if (data.subItems.length > 0)
{
var aggregate_nowTillEnd = this.getcolumnaggregateddata(“nowTillEnd”, [‘sum’], true, data.subItems);
var aggregate_fullCurrMonth = this.getcolumnaggregateddata(“fullCurrMonth”, [‘sum’], true, data.subItems);
var aggregate_nextMonth = this.getcolumnaggregateddata(“nextMonth”, [‘sum’], true, data.subItems);
}var renderstring = ‘<div class=”jqx-grid-groups-row” style=”display: inline;”>’ +
‘<span class=”jqx-grid-groups-row-details”>’ + text + ‘ </span>’ +
‘<div style=”right:250px;width:80px;display:inline;position:absolute”><span class=”jqx-grid-groups-row-details”>’ + aggregate_nowTillEnd.sum + ‘</span></div>’ +
‘<div style=”right:350px;width:80px;display:inline;position:absolute”><span class=”jqx-grid-groups-row-details”>’ + aggregate_fullCurrMonth.sum + ‘</span></div>’ +
‘<div style=”right:450px;width:80px;display:inline;position:absolute”><span class=”jqx-grid-groups-row-details”>’ + aggregate_nextMonth.sum + ‘</span></div>’ +
‘</div>’;return renderstring;
}
-
AuthorPosts