jQWidgets Forums
Forum Replies Created
-
Author
-
December 8, 2017 at 2:21 pm in reply to: Init value ok, setting value = bug Init value ok, setting value = bug #97830
Hello,
It is true that with the current version, the problem is solved, my apologies.
I was (and still) am using an older version because it works better on iPad with what I’m doing.But with the current version, I am still having problems on iPad relating to :
https://www.jqwidgets.com/community/topic/change-value-on-touch-devices/
are you still working on the issue ?
November 16, 2017 at 6:06 pm in reply to: change value on touch devices change value on touch devices #97389I don’t know if it’s related to this topic, but changing values on the iPad with decimal seperator “,” with spinButtonsStep set to 0.1 , when changing to add, it works only once. It will go from 14,00 to 14,10 but you cannot get the number to a higher value. Pressing the button numerous times don’t work.
Also, when pressing down from say 14.10 (after having pressing up), it will go down by 1.00 intervals and not 0.1.
November 13, 2017 at 6:20 pm in reply to: jqxNumberInput iPad bug ? jqxNumberInput iPad bug ? #97293ok!
Thank you very much for the answer and the support.
September 3, 2013 at 4:17 pm in reply to: Sort filter not applied when changing source ? Sort filter not applied when changing source ? #28249ok thanks for answering my question !
August 29, 2013 at 6:32 pm in reply to: Grid saving state to database Grid saving state to database #27983Hi!
If it may be of any help, this is how I got done saving the state in DB and then loading
function saveState() { var theURL = "your-url"; var getState = $("#jqxgrid").jqxGrid('savestate'); var stateToSave = JSON.stringify(getState);// YOU ARE SAVING A STRING $.ajax({ type: "POST", url: theURL, data: { state_save: stateToSave }, success: function(response) { alert("response = " + response); // STRING IS INSERTED IN DB WITH QUOTES (") AND {} // EX : {"width":"100%","height":400... }}); } function loadState() { var theURL = "your-url"; $.ajax({ type: "GET", // OR POST WHATEVER... url: theURL, data: { what: 'ever-you-need' }, success: function(response) { if (response != "") { // IMPORTANT HERE. IN PHP, THE FUNCTION MUST BE RETURNED LIKEWISE://return stripslashes(html_entity_decode($result[0]["state"]));// WHERE $result[0]["state"] IS THE STRING INSERTED IN THE DB response = JSON.parse(response); // IF YOU alert(response) YOU SHOULD GET AN [object Object] AND NOT A STRING. IF YOU GET A STRING SUCH HAS "{"width":"100%","height":400..." IT IS WRONG. $("#jqxgrid").jqxGrid('loadstate', response); } } }); }
Hope it will help.
Version 3.0.2August 22, 2013 at 12:54 pm in reply to: Error on row select / pager Error on row select / pager #27434Excellent!
Looking forward for it to be fixed in the next release!
August 21, 2013 at 8:24 pm in reply to: Error on row select / pager Error on row select / pager #27320Here is an example with version 2.9.2
Everything is fine if you repeat steps above
August 21, 2013 at 7:58 pm in reply to: Error on row select / pager Error on row select / pager #27318Hi Peter:
Here is an example on how to reproduce the bug:
http://colligetest.ccdmd.qc.ca/test-jqxwidgets/test.php
I stripped down all the unecessary code I put. Grid starts on document.ready
1) When grid loads, select a row, it selects it on page 1.
2) Go to page 2, select a row, everything is fine.
3) Filter column ‘Modèle’, with contains ‘bio’
4) You get filtered results
5) Select a row, everything is fine.
6) Go to page 2, select a row, javascript error and row does not get selected EXCEPT the very first one on top.Using version 3.0.1.
Waiting for feedback.
Thanks!
August 21, 2013 at 6:16 pm in reply to: Error on row select / pager Error on row select / pager #27312Hi Peter,
In your example link, I cannot filter any column…
If you do not filter any column, there is no problem.Try using a filter like filtering First Name : Nancy. And let me know if you did reproduce the problem.
If not, I will provide an example.
August 19, 2013 at 7:46 pm in reply to: What happened with row on cellclick ? What happened with row on cellclick ? #27146Yes, it’s resolved in 3.0.1
Thanks a lot!
Btw, savestate and loadstate also works properly now with virtualmode with 3.0.1 also
Thanks again !
August 19, 2013 at 1:02 pm in reply to: What happened with row on cellclick ? What happened with row on cellclick ? #27127Hi!
Thanks Reter for investigating.
Let me know if you can reproduce this behavior.
If not, I can provide a link / working example with this behavior.
August 15, 2013 at 11:00 pm in reply to: Save/Load state in virtual mode Save/Load state in virtual mode #26909Got same problem…
August 15, 2013 at 12:16 am in reply to: autosavestate and autoloadstate destroy ? autosavestate and autoloadstate destroy ? #26851Hi!
I put 2 buttons just like in the demo “save state” and “load state”. Attached to these buttons are 2 functions :
function saveState() {
state = $(“#jqxgrid”).jqxGrid(‘savestate’);
}function loadState() {
if (state) {
$(“#jqxgrid”).jqxGrid(‘loadstate’, state);
}
else {
$(“#jqxgrid”).jqxGrid(‘loadstate’);
}
}When I press loadState after saveState to test, I get this javascript error:
Error: jqxGrid: The data is still loading. When the data binding is completed, the Grid raises the ‘bindingcomplete’ event. Call this function in the ‘bindingcomplete’ event handler. [http://colligetest.ccdmd.qc.ca/js/jqwidgets/jqxgrid.filter.js:7]
Here is my grid code :
var state = null;var source = { datatype: "json", datafields: [ { name: 'chk_box', type: 'string'}, { name: 'titre_fiche', type: 'string'}, { name: 'titre_modele', type: 'string' }, { name: 'type_acces', type: 'string' }, { name: 'date_modification', type: 'date' }, { name: 'suivi', type: 'string' } ], cache: false, url: baseURL + '/collections/mes-collections/selectionner-fiches-collection', filter: function() { // update the grid and send a request to the server. $("#jqxgrid").jqxGrid('updatebounddata', 'filter'); }, sort: function() { // update the grid and send a request to the server. $("#jqxgrid").jqxGrid('updatebounddata', 'sort'); }, root: 'Rows', beforeprocessing: function(data) { if (data != null) { source.totalrecords = data[0].TotalRows; } } }; var dataadapter = new $.jqx.dataAdapter(source, { loadError: function(xhr, status, error) { alert(error); } } ); // initialize jqxGrid $("#jqxgrid").jqxGrid( { width: '100%', source: dataadapter, theme: jqw_theme, selectionmode: 'multiplerows', autosavestate: false, autoloadstate: false, filterable: true, sortable: true, pageable: true, columnsresize: true, autoheight: true, virtualmode: true, showdefaultloadelement: false, pagesizeoptions: jqw_pagesizeoptions, rendergridrows: function(obj) { return obj.data; }, ready: function() { }, columns: [ { text: '', datafield: 'chk_box', sortable: false, filterable: false, editable: false, width: '5%', renderer: function () { return '<div></div>'; } }, { text: 'TITRE', datafield: 'titre_fiche', width: '45%' }, { text: 'MODÈLE', datafield: 'titre_modele', width: '15%' }, { text: 'ACCÈS', datafield: 'type_acces', width: '10%' }, { text: 'DATE MODIFICATION', datafield: 'date_modification', filtertype: 'date', editable: false, cellsalign: 'left', cellsformat: 'd MMMM yyyy, HH:mm', width: '20%' }, { text: '', datafield: 'suivi', sortable: true, filterable: false, editable: false, width: '5%', renderer: function () { return '<div></div>'; } }, ] });
What am I doing wrong here ? It should be simple….
Please help… :/July 10, 2013 at 1:25 pm in reply to: trigger : 'focus' not working trigger : 'focus' not working #24946ok thanks, it’s working now!
July 4, 2013 at 5:08 pm in reply to: Cellformat shows wrong results Cellformat shows wrong results #24522Yes, I upgraded to the latest version and now it’s fixed.
Thanks! -
AuthorPosts