Re: Datatables Tips

2017-06-23 Thread Sannyasin Siddhanathaswami via 4D_Tech
If this helps someone, here’s my code for creating the array of objects, summarized. This gives the same output for Datatables, but is from arrays (the last section builds the array of objects): ARRAY LONGINT($aItemNum;0) DISTINCT VALUES([Sale_Items]Item_Num;$aItemNum) //get items nums $Categor

Re: Datatables Tips

2017-06-23 Thread Paul Dennis via 4D_Tech
I agree ive been looking for some sort of JS editor that can check syntax. My eyesight simply isnt good enough for all these commas and dots. -- View this message in context: http://4d.1045681.n5.nabble.com/Datatables-Tips-tp5752751p5752757.html Sent from the 4D Tech mailing list archive at

Re: Datatables Tips

2017-06-22 Thread Scott Staley via 4D_Tech
p simplify my web development. Others on this list are probably already aware of datatable and bootstrap but for anyone who isn't I wanted to pass on my appreciation as well for these resources. Thanks again for the tip... -- View this message in context: http://4d.1045681.n5.nabble.com/

Re: Datatables Tips

2017-06-22 Thread Sannyasin Siddhanathaswami via 4D_Tech
For a javascript novice like me, all those weird comma, parenthesis and curly brackets gets confusing immediately! Yes. I have a tough time finding a decent editor too. Having done most of my programing in 4D, I realized I’m spoiled with auto formatting and coloring. Yes I know js is flexible w

Re: Datatables Tips

2017-06-22 Thread David Adams via 4D_Tech
On Fri, Jun 23, 2017 at 12:08 PM, Sannyasin Siddhanathaswami via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Aloha, > > Since it’s in the air, I figured I’d share a couple tips I’ve discovered > in the past few days. I’m not a Javascript programmer... > Great stuff, thanks for sharing! DataTables i

Datatables Tips

2017-06-22 Thread Sannyasin Siddhanathaswami via 4D_Tech
Aloha, Since it’s in the air, I figured I’d share a couple tips I’ve discovered in the past few days. I’m not a Javascript programmer... I think David Adams has done a post on this too. For creating a DataTable (www.datatables.net), first create the data from 4D in a test method: C_OBJECT($te