Hi,
Im very new to datatables and these days Im learning a lot. from what Ive read, to use a certain functionality I need to upgrade my DataTables version.
I have a working table now, and when I upgrade to 194 or 182 its stop working :\. Ive looked at the upgrade notes but there is no answer there to my problem.
what I have working in 175 is:
can you help me with that please
thanks
yoni
Im very new to datatables and these days Im learning a lot. from what Ive read, to use a certain functionality I need to upgrade my DataTables version.
I have a working table now, and when I upgrade to 194 or 182 its stop working :\. Ive looked at the upgrade notes but there is no answer there to my problem.
what I have working in 175 is:
var url = "/"+appName+"/BasicNavigationServlet?Action=GetDesktopWidgetTableData&Token="+ idhref+"&jsoncallback=nop&Id="+vId+"&tableLayout=true"; $.ajaxSetup({ cache: false }); $.ajax({ url: url, dataType: 'json', success: function(data) { layoutData = data; }, async: false }); var vDisplayLength=10; if(layoutData){ if(layoutData.NumOfItems){ vDisplayLength = layoutData.NumOfItems; vDisplayLength = parseInt(vDisplayLength); } } var winHeight = $(window).height(); var winWidth = $(window).width(); winWidth = winWidth / 2; //var vScrollX = winHeight -60 -35 -30 ; //vScrollX = vScrollX + 20; var vScrollX = winHeight -60 -35 -10 ; var idhref = parent.parent.parent.parent.document.location.href.split("#"); idhref = idhref[idhref.length - 1]; var url = "/"+appName+"/BasicNavigationServlet?Action=GetDesktopWidgetTableData&Token="+ idhref+"&Type="+Type+"&SubType="+SubType+"&Id="+vId+"&FromRefresh="+vFromRefresh; oTable = $('#widgetTableID').dataTable({ "sScrollY": vScrollX, "sScrollX": "100%", "bInfo" : false, "bJQueryUI": true, "asStripClasses": tableStripSettings, "sPaginationType": "full_numbers", "bPaginate": true, "bLengthChange": true, "iDisplayLength": vDisplayLength, "bProcessing": true, //"bServerSide": true, "sAjaxSource": url, "bAutoWidth": false, "aoColumns": [{"sTitle": "Type","bVisible": false,"bSortable": false,"bSearchable": false}, {"sTitle": "","sWidth":"5%","bSortable": false,"bSearchable": false}, {"sTitle": vColTaskType,"bVisible": showColTaskType,"sWidth":"10%","bSortable": true,"bSearchable": true}, {"sTitle": "IdCol","bVisible": false,"bSearchable": false}, {"sTitle": "GenCol1","bVisible": false,"bSearchable": false}, {"sTitle": "GenCol2","bVisible": false,"bSearchable": false}, {"sTitle": "GenCol3","bVisible": false,"bSearchable": false}, {"sTitle": "GenCol4","bVisible": false,"bSearchable": false}, {"sTitle": "GenCol5","bVisible": false,"bSearchable": false}, {"sTitle": vCol1Title,"sWidth":vCol1Width+"%"}, {"sTitle": vCol2Title,"bVisible": showCol2,"sWidth":vCol1Width+"%"}, {"sTitle": "tooltip","bVisible": false,"bSearchable": false} ], "oLanguage": { "sUrl": "../../../jQuery/dataTables/media/language/"+getLocale()+".txt" } });after the upgrade to 182 it stops from working...
can you help me with that please
thanks
yoni