jQWidgets Forums
Forum Replies Created
-
Author
-
October 13, 2015 at 11:02 am in reply to: Grid | Show/Hide Column Dynamically Grid | Show/Hide Column Dynamically #76772
Hello Raj,
You can call ‘showcolumn‘ for each checked item, and ‘hidecolumn‘ for each unchecked, when you press apply.
This way you will set the state for each column each time you hit apply.Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comOctober 13, 2015 at 9:37 am in reply to: Celleditor and cellrenderer Celleditor and cellrenderer #76767Hello Rana,
No there is no way to prevent it, this is how the widget works.
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comOctober 13, 2015 at 9:17 am in reply to: Grid does not render new data Grid does not render new data #76765Hello elbnacht,
You could try something like bind to ‘cellvaluechanged’ event and use the ‘getRows’ function to get the grid data and populate the chart from the data there.
Best Regards,
VladimirjQWidgets team
http://www.jqwidgets.com/October 13, 2015 at 9:07 am in reply to: Celleditor and cellrenderer Celleditor and cellrenderer #76764Hello Rana,
Unfortunately, radio button columns are not supported by jqxGrid. The only supported somewhat similar functionality is columntype: ‘checkbox’.
It could theoretically be possible to maintain an array with the selection and force it in cellsrenderer, but you will have to try to implement it yourself.
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comOctober 13, 2015 at 8:13 am in reply to: Question about "dynamic" calendar Question about "dynamic" calendar #76760Hello brogen,
Ofcourse it won’t work. It throws an error in the console.
Uncaught Error: Invalid Selector – #Events! Please, check whether the used ID or CSS Class name is correct.
Which is caused by this code:
$('#Events').css('border', 'none'); $('#Events').jqxPanel({ height: '250px', width: '600px' });
Which works in the first example because you have this in the html section:
<div> <div id='Events'> </div> </div>
But you have removed it in the second.
This error causes the script to stop execution before the line which sets the on change event.So in short remove the 2 event lines from your code and it should work 🙂 (and also the
(document).ready(function () {
from the fragment as you are already in a (document).ready statement)Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comHello ToddHaddaway,
It is not actually not rendering, it is causing a crash/unresponsive script and the reason is that all browsers have different capabilities regarding parsing dates from strings, and your date format is certainly ambiguous so the results vary in different browsers.
You can use the xAxis { type: ‘basic’ } option to treat the values as strings and it will display them as they are, or you can specify a correctly formatted date and specify it is a type: ‘date’ with appropriate dateFormat and baseUnit, and format its output appropriately with the formatFunction option.
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comHello Sandeep,
You can either use the cellsRenderer option and analyze and modify the data for your cell to display only the digit part (you can separate it with parseInt(), or use yourvalue.split(‘ | ‘)[0] to split the data) or use the beforeLoadComplete callback and modify the data before it is displayed in the grid.
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comHello Karen,
Regarding your fist question you can use the formatFunction to achieve that:
formatFunction: function (value) { return value; }
Regarding your second question here is a working example with a scatter chart export to jpeg/png.
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comOctober 9, 2015 at 12:35 pm in reply to: window height and width is not setting properly window height and width is not setting properly #76618Hello Devi,
We acknolwedge the strange behavior and have created a work item for it.
I think I have a solution for you, though what you are doing should be wokring as well.
What should help you is to initialize the jqxWindow in the $(document).ready statement.$("#jqxwindow").jqxWindow({ draggable: false, showCloseButton: true, autoOpen: false });
Please try it and let me know if it works.
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comOctober 9, 2015 at 8:50 am in reply to: window height and width is not setting properly window height and width is not setting properly #76605Hello devi,
Can you please provide an example/fiddle of what you are trying to achieve?
Why is creating additional hidden divs a problem?Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comOctober 9, 2015 at 6:32 am in reply to: window height and width is not setting properly window height and width is not setting properly #76595Hello devi,
You can use two different divs (with their own IDs) for first and second case, and then the third one is the first one so no need to change anything.
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comOctober 9, 2015 at 6:27 am in reply to: Grid does not render new data Grid does not render new data #76594Hello elbnacht,
Just to be clear, what you want is to use the data in the grid, to populate a chart?
Best Regards,
VladimirjQWidgets team
http://www.jqwidgets.com/October 8, 2015 at 9:55 am in reply to: Question about "dynamic" calendar Question about "dynamic" calendar #76560Hello brogen,
You can use a jqxWindow and add a calendar to it, then close the window (if you want to) when you select a date, or place a close button to do that, and use the selected date this way.
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comOctober 8, 2015 at 8:18 am in reply to: Grid does not render new data Grid does not render new data #76553Hello elbnacht,
Please try the following:
reloadButton.click(function (event) { source.data.targetValue = targetValue.val(); dataAdapter.dataBind(); $("#jqxGrid").jqxGrid({ 'updatebounddata' }); });
Best Regards,
VladimirjQWidgets team
http://www.jqwidgets.com/Hello Karen,
There is no method to get all of the settings at once.
Though you can get each singular setting by calling$('#jqxchart').jqxChart('name_of_setting');
as listed and explained in the API page.
If you would like to keep the full settings object, you should do so on initialization by making the variable accessible to the code you would like to use it from.Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts