jQWidgets Forums
Forum Replies Created
-
Author
-
December 13, 2016 at 5:08 pm in reply to: JSON Data example modification JSON Data example modification #89797
Hi susduj,
The id must be of type integer for the jqxTreGride to properly create the hierarchy of the records. Why do you need to change the type of the id ? Each record must have a unique ID of type integer to be properly processed by the jqxTreeGrid.
Best Regards,
ChristopherjQWidgets Team
http://www.jqwidgets.comDecember 8, 2016 at 9:22 am in reply to: Unexpected rowdetails when filtering/sorting is applied Unexpected rowdetails when filtering/sorting is applied #89677Hi DmitriyG,
Thank you for the feedback! We will consider this for the future releases.
Best Regards,
ChristopherjQWidgets Team
http://www.jqwidgets.comDecember 8, 2016 at 8:41 am in reply to: Add jqxProgressBar inside a column of jqxGrid Add jqxProgressBar inside a column of jqxGrid #89672Hi logs,
Yes, you can add any widget you want to a column inside the jqxGrid. Here is a demo:
https://www.jseditor.io/?key=xb-jqxgrid-with-custom-widget-columnBest Regards,
ChristopherjQWidgets Team
http://www.jqwidgets.comDecember 8, 2016 at 8:00 am in reply to: Data attribs on select options? Data attribs on select options? #89668Hi carpii,
If you create a jqxDropDownList from the HTML select tag like in this demo: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxdropdownlist/dropdownlist-from-select.htm?light , it will be possible to access the data attributes with the data() method like so:
$('#fontpicker').data().jqxDropDownList.element[0].dataset
.“$(‘#fontpicker’).data().jqxDropDownList” contains the attribute “element” which returns an array of all the options of the select element.
Best Regards,
ChristopherjQWidgets Team
http://www.jqwidgets.comDecember 5, 2016 at 9:10 am in reply to: Bootstrap Information Icon not showing next to heading Bootstrap Information Icon not showing next to heading #89556Hi walker1234,
This would be a wrong assumption. JQWidgets works great along with Bootstrap. We even have integration demos. Check it out:
http://www.jqwidgets.com/jquery-widgets-demo/demos/twitter/index.htmBest Regards,
ChristopherjQWidgets Team
http://www.jqwidgets.comDecember 2, 2016 at 9:00 am in reply to: conditionally editable cell for row edit conditionally editable cell for row edit #89515Hi jessiema,
It’s normal for the
cellbeginedit
callback to return data only about the cell that has been clicked. Try using the `cellbeginedit’ event. It returns the full data from the selected row, not just the clicked cell.Best Regards,
ChristopherjQWidgets Team
http://www.jqwidgets.comDecember 2, 2016 at 8:09 am in reply to: filtering text input format filtering text input format #89509Hi jahnvi25,
What settings did you use for the jqxGrid? What is the type of the column that you want to filter with those specific values ?
If the column is of type ‘String’ filtering will work with values such as ‘1K, 1M, 1B’. If it’s of type ‘Number’ the filter textfield can only accept numeric input.Best Regards,
ChristopherjQWidgets Team
http://www.jqwidgets.comDecember 2, 2016 at 7:44 am in reply to: Issue with editable cells in groups mode Issue with editable cells in groups mode #89508Hi schueppi,
This has already been discussed in the following topic:
http://www.jqwidgets.com/community/topic/auto-scroll-issue-with-editable-cell-anddropdown-list-and-group/Best Regards,
ChristopherjQWidgets Team
http://www.jqwidgets.comNovember 24, 2016 at 7:59 am in reply to: Grid php search engine based on input field value Grid php search engine based on input field value #89281Hi dan123,
Here’s an example with a search text field that populates the jqxGrid when you type in something.
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/toolbar.htm?lightYou can add a Submit button next to the inputText box in the toolbar and load the new data on click of the button, using the
updatebounddata
callback. Theurl
of the data source should point to your “search.php” file that returns the new JSON with the search results from the input.Here is a similar topic that you might find usefull:
http://www.jqwidgets.com/community/topic/search-in-toolbars/Best Regards,
ChristopherjQWidgets Team
http://www.jqwidgets.comNovember 24, 2016 at 7:19 am in reply to: cell editor with additional settings cell editor with additional settings #89279Hi badera,
Unfortunately it’s not possible to create an editor like that. What you described sounds more like a combination of jqxNumerInput and jqxFormattedInput which is not available.
Best Regards,
ChristopherjQWidgets Team
http://www.jqwidgets.comNovember 23, 2016 at 8:16 am in reply to: Can I prevent paste into a cell? Can I prevent paste into a cell? #89249Hi JellyRaptor,
Here’s how to do it:
http://jsfiddle.net/1ah9ph8g/21/What is happening is that, we check the datafield of the current column that the cell belongs to. If the cell is not editable, we simply disable the
paste
functionality. If more than one column is not editable just add it ot the if caseif(currentCell.datafield == 'firstName' || ...)
.Best Regards,
ChristopherjQWidgets Team
http://www.jqwidgets.comNovember 23, 2016 at 7:36 am in reply to: Applying grid state with loadstate before grid initialization Applying grid state with loadstate before grid initialization #89246Hi TP_DTNA,
Your best option is to apply the desired behavior in the
ready
function. You can apply filters immediately after the jqxGrid is in ready state.
For example:
http://jsfiddle.net/Eeume/80/The same goes for sorting using the
sortby
function.Best Regards,
ChristopherjQWidgets Team
http://www.jqwidgets.comNovember 22, 2016 at 11:23 am in reply to: Applying grid state with loadstate before grid initialization Applying grid state with loadstate before grid initialization #89221Hi TP_DTNA,
Try calling the
loadstate
function on theready
(not “bindincompleted”) event, without a timeout. It should load the new state as soon as the jqxGrid is visualized.Best Regards,
ChristopherjQWidgets Team
http://www.jqwidgets.comNovember 21, 2016 at 8:44 am in reply to: Multiple value in one cell from XML Multiple value in one cell from XML #89182Hi Touxe,
A possible approach would be to show the column with the multuple values as a custom editor, a jqxDropDownList. That would require to load the Courses from your XML as a second data source to the jqxDropDownList. As a result in the cell of that column you will see only one value, for example “Mathematics” and when you click on it to change it, the rest of the available options will appear in a dropDownList. If that works for you then it’s possible to accomplish the goal using that approach.
Best Regards,
ChristopherjQWidgets Team
http://www.jqwidgets.comNovember 21, 2016 at 8:20 am in reply to: undefined i.support and $.jqx undefined i.support and $.jqx #89178Hi Vapegnast,
Check if the files that you point to are present in the directory where the jqxWidgets are located( looking at your code, that should be the “jqwidgets” folder, located in your project ). Also I notice you declare the same scripts twice:
<!-- add the jQuery script --> <script type="text/javascript" src="scripts/jquery-1.11.0.min.js"></script> <!-- add the jQWidgets framework --> <script type="text/javascript" src="jqwidgets/jqxcore.js"></script> <!-- add one or more widgets --> <script type="text/javascript" src="jqwidgets/jqxbuttons.js"></script> <!-- add the jQWidgets base styles and one of the theme stylesheets --> <link rel="stylesheet" href="jqwidgets/styles/jqx.base.css" type="text/css" /> ... <title id='Description'>This example shows how to create a Grid from Array data.</title> <link rel="stylesheet" href="jqwidgets/styles/jqx.base.css" type="text/css" /> <script type="text/javascript" src="scripts/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="jqwidgets/jqxbuttons.js"></script>
You shouldn’t have references to two different versions of jquery and there’s no need to reference the same files twice.
Best Regards,
ChristopherjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts