Forum Replies Created
-
Author
-
October 23, 2014 at 1:23 pm in reply to: possibility to display a grid without knowing the structure possibility to display a grid without knowing the structure #61531
Sorry foy my absence, i’m in holiday.
In fact, I would like to use the same grid for several datatabse not identical.
So if I don’t know the exact number and names of my database entry come there is no solution for me ?thanks
October 10, 2014 at 12:49 pm in reply to: possibility to display a grid without knowing the structure possibility to display a grid without knowing the structure #60954Could I have an answer about my last question.
Thanks.October 3, 2014 at 3:42 pm in reply to: possibility to display a grid without knowing the structure possibility to display a grid without knowing the structure #60629Thanks for your answer
But we always have to define the name of each fields in the datafields and therefore know the structure?
thanksOctober 1, 2014 at 9:27 am in reply to: Filter and dropdownlist : Is it a bug ? Filter and dropdownlist : Is it a bug ? #60439I made an example to reproduce the bug : if you use the filter and click one of them, two boxes are checked
http://jsfiddle.net/72bcw8tj/6/
Thanks
October 1, 2014 at 8:42 am in reply to: Filter and dropdownlist : Is it a bug ? Filter and dropdownlist : Is it a bug ? #60425i made a little sample with jsfiddle.net and it’s true, all is ok…..very strange because doesn’t work into my web application, Do you think that the problem came of the datasource (over 1000 lines), dataadaptateur (dataType : ‘json’) ? could you try with external json source ?
Here my js code :
$.ajax({ type : 'POST', // envoi des données en GET ou POST beforeSend : function() {}, url : 'http:'+server_sp+'/Coding/Metaddra_test/LLT_LIST', // url du fichier de traitement async:false, data : '', dataType : 'json', success : function(data){ }, complete :function(data){ var resu= eval(data); var source = { datatype: "json", datafields: [ { name: 'LLT' } ], localdata: resu }; var dataAdapter = new $.jqx.dataAdapter(source); $("#jqxWidget").jqxListBox({ source: dataAdapter, displayMember: "LLT", width: 300, height: 350, checkboxes: true , filterable: true, searchMode: 'contains', theme: 'metro'}); $("#jqxWidget").on('checkChange', function (event) { var args = event.args; if (args.checked) { $("#Events").text("Checked: " + args.label); } else { $("#Events").text("Unchecked: " + args.label); } var items = $("#jqxWidget").jqxListBox('getCheckedItems'); var checkedItems = ""; $.each(items, function (index) { if (index < items.length - 1) { checkedItems += this.label + ", "; } else checkedItems += this.label; }); $("#CheckedItems").text(checkedItems); }); $('#ajax-loader1').remove(); // on enleve le loader } });
October 1, 2014 at 7:06 am in reply to: Filter and dropdownlist : Is it a bug ? Filter and dropdownlist : Is it a bug ? #60411It is ListXox widget, not dropdownlist…sorry for my mistake…if you could move this thread.
ok for the answer, this feature is really important for me.
September 30, 2014 at 1:12 pm in reply to: Problem to populated dropdownList with json data Problem to populated dropdownList with json data #60369I resolved my problem adding displaymember, sorry
$(“#jqxWidget”).jqxListBox({ source: dataAdapter, displayMember: “LLT”, width: 300, height: 350, checkboxes: true });have a nive day
September 30, 2014 at 11:37 am in reply to: Problem to populated dropdownList with json data Problem to populated dropdownList with json data #60362September 15, 2014 at 9:31 am in reply to: Problem with grid and datetimeinput Problem with grid and datetimeinput #59512ok
when I click my save Button, I transform my dates into my javascript file before recorded data like this
…. dateA=row.Date;
dateB= (dateA.getMonth()+1)+”/”+dateA.getDate()+”/”+dateA.getFullYear();but does it means that jqwidget can record the dates in a format but it can not read the same format when I import data ?
Thanks
…and sorry for my English, i hope you understand me.September 12, 2014 at 2:04 pm in reply to: Problem with grid and datetimeinput Problem with grid and datetimeinput #59467Here the good link :
Into IE, no problem the date is correct
Afer I backup my data in a database, I can see that the date is changed like this (Fri Sep 19 00:00:00 UTC 0200 2014), is there a possibility to recorded date in the same format as in IE 8 client (.d => m/dd/yyyy)
But when I reload my webpage (F5), we can see that the format is not the same like the picture 2 , why ?
And if i want to change this cell….there is a problem with the datepicker like you could see on the two screen below
THANKS
June 26, 2014 at 2:53 pm in reply to: Display column under condition Display column under condition #56450Sorry it s ok now with
$(‘#jqxgrid’).jqxGrid(‘beginupdate’);
…
$(‘#jqxgrid’).jqxGrid(‘endupdate’);thanks
June 26, 2014 at 2:41 pm in reply to: Display column under condition Display column under condition #56449Thanks
it work but performance is very low because i have many columns to hide, is there any solutions ?function showhide_row(){ $("#jqxgrid").jqxGrid('hidecolumn', 'SOC'); $("#jqxgrid").jqxGrid('hidecolumn', 'PROCCOM'); $("#jqxgrid").jqxGrid('hidecolumn', 'MEDICNB'); $("#jqxgrid").jqxGrid('hidecolumn', 'TREATNAM'); $("#jqxgrid").jqxGrid('hidecolumn', 'DRUGCOD'); $("#jqxgrid").jqxGrid('hidecolumn', 'DRUGNAME'); $("#jqxgrid").jqxGrid('hidecolumn', 'DRUGLBL'); $("#jqxgrid").jqxGrid('hidecolumn', 'ATCCOD'); $("#jqxgrid").jqxGrid('hidecolumn', 'ATCLBL'); $("#jqxgrid").jqxGrid('hidecolumn', 'PLLTCOD'); $("#jqxgrid").jqxGrid('hidecolumn', 'PPTCOD'); /* if (indts=='MR_AE_17' ) { $("#jqxgrid").jqxGrid('showcolumn', 'SOC');} if (indts.substr(0,6)=='MR_AEP' ) {$("#jqxgrid").jqxGrid('showcolumn', 'PROCCOM');} if (indts=='MR_MH_03' || indts=='MR_MH_04' || indts=='MR_MH_05' ) {$("#jqxgrid").jqxGrid('showcolumn', 'PROCCOM');} if (indts=='MR_MH_06' ) { $("#jqxgrid").jqxGrid('showcolumn', 'MEDICNB');$("#jqxgrid").jqxGrid('showcolumn', 'TREATNAM');$("#jqxgrid").jqxGrid('showcolumn', 'DRUGCOD');} if (indts=='MR_MH_07' ) { $("#jqxgrid").jqxGrid('hidecolumn', 'ADRNBA');$("#jqxgrid").jqxGrid('hidecolumn', 'DISCOM');$("#jqxgrid").jqxGrid('showcolumn', 'ATCCOD') $("#jqxgrid").jqxGrid('showcolumn', 'MEDICNB');$("#jqxgrid").jqxGrid('showcolumn', 'TREATNAM');$("#jqxgrid").jqxGrid('showcolumn', 'DRUGCOD'); } if (indts=='MR_MH_08' || indts=='MR_MHP_01' || indts=='MR_MHP_02' ) { $("#jqxgrid").jqxGrid('showcolumn', 'PROCCOM');$("#jqxgrid").jqxGrid('showcolumn', 'PLLTCOD'); $("#jqxgrid").jqxGrid('showcolumn', 'PPTCOD'); } if (indts=='MR_TT_01' ) { $("#jqxgrid").jqxGrid('showcolumn', 'MEDICNB');$("#jqxgrid").jqxGrid('showcolumn', 'TREATNAM'); $("#jqxgrid").jqxGrid('showcolumn', 'ATCCOD'); $("#jqxgrid").jqxGrid('showcolumn', 'DRUGNAME');$("#jqxgrid").jqxGrid('showcolumn', 'DRUGLBL'); $("#jqxgrid").jqxGrid('showcolumn', 'ATCLBL'); $("#jqxgrid").jqxGrid('hidecolumn', 'ADRNBA');$("#jqxgrid").jqxGrid('hidecolumn', 'DISCOM'); $("#jqxgrid").jqxGrid('hidecolumn', 'LLTLIST');$("#jqxgrid").jqxGrid('hidecolumn', 'PTLIST'); }*/ }
June 6, 2014 at 2:44 pm in reply to: show all the content of the cell show all the content of the cell #55525ok but i don’t want use this option to see the maximum of row when i don’t want to see the content of my cell “discom”
No popup option ?
thanks
May 28, 2014 at 1:33 pm in reply to: Get data (cell) into validation field ? Get data (cell) into validation field ? #55033it’s ok if i put this outside of validation ;
$(“#jqxgrid”).bind(‘rowselect’, function (event) {
row = event.args.rowindex;
}) ;My problem is closed
May 28, 2014 at 11:13 am in reply to: Get data (cell) into validation field ? Get data (cell) into validation field ? #55018I try to add this to get selected row number, but it seem it don’t run into “validation”.
$("#jqxgrid").bind('rowselect', function (event) { var row = event.args.rowindex; }) ; identity= $("#jqxgrid").jqxGrid('getcellvalue', row, 'NAME');
-
AuthorPosts