go to post Anil Mathew · Dec 15, 2019 Hi Neerav, You could try http://tabulator.info/. This is quite fast and responsive. I have tested over 10000 records. It supports bootstrap as well. Please find some code to get you started. There are lots of examples in the documentation. <head> <link href="https://unpkg.com/tabulator-tables@4.5.2/dist/css/tabulator.min.css" rel="stylesheet"> <script type="text/javascript" src="https://unpkg.com/tabulator-tables@4.5.2/dist/js/tabulator.min.js"></script> </head> <body> <div><table id="tblAbcd"></table></div> <script language ="javascript" > var ret = #server(MyPackage.MyClass.GetDetails()#; var retJSON = JSON.parse(ret); var ht=600; var pageRows = 50 var table = new Tabulator("#tblAbcd", { data:retJSON, //load row data from array height:(ht+"px"), layout:"fitColumns", //fit columns to width of table responsiveLayout:"hide", //hide columns that dont fit on the table tooltips:true, //show tool tips on cells addRowPos:"top", //when adding a new row, add it to the top of the table history:true, //allow undo and redo actions on the table pagination:"local", //paginate the data paginationSize:pageRows, //allow 7 rows per page of data movableColumns:true, //allow column order to be changed resizableRows:true, //allow row order to be changed initialSort:[ //set the initial sort order of the data {column:"gstName", dir:"asc"}, ], columns:[ //define the table columns {title:"Id", field:"id",visible:false}, {title:"Name", field:"gstName", editor:"input", headerFilter:"input",sorter:"text"}, {title:"DOB", field:"dobDt", editor:"input",headerFilter:"input",sorter:"date"}, ], }); </script> </body> Hope this helpsRegards Anil
go to post Anil Mathew · Apr 29, 2017 TrySet nameToFind="%Doe%". The below does not work.&sql(Select ID from myTable where LastName like :nameToFind)
go to post Anil Mathew · Apr 13, 2017 Hi,You can make a vbscript file (.vbs) with the script below and then run that to first convert your xls file to tab delimited.If you wish to save as coma delimited you could also use ( oBook.SaveAs WScript.Arguments.Item(1), 6 ) instead of (oBook.SaveAs WScript.Arguments.Item(1), -4158) in the script below. I usually execute the vbs using $zf(-2,"scriptfilename.vbs" "filetoconvert.xls" "ouptutfile.txt")Then you can work with the resulting file. Hope this helps.============================if WScript.Arguments.Count < 2 Then WScript.Echo "Error! Please specify the source path and the destination. Usage: XlsToCsv SourcePath.xls Destination.csv" Wscript.QuitEnd IfDim oExcelSet oExcel = CreateObject("Excel.Application")Dim oBookSet oBook = oExcel.Workbooks.Open(Wscript.Arguments.Item(0))oBook.SaveAs WScript.Arguments.Item(1), -4158oBook.Close FalseoExcel.QuitWScript.Echo "Done"===========================RegardsAnil