-2

I started using Slickgrid recently but have not gotten in depth with it. I'm trying to connect it to my own MySQL database but I haven't gotten any luck doing so.

I want this for displaying purposes so all I need (for now) is to show up the data in the database into the Slickgrid.

Other than the connection to the database

var getDB = new ActiveXObject("ADODB.Connection") ;
var cntstring = "DSN=adsn;UID=root;PWD=1234";
getDB.Open(cntstring);
var rset = new ActiveXObject("ADODB.Recordset");

I don't know how to populate the rest to each cell in the Slickgrid.

Any help is greatly appreciated!

randomizertech
  • 2,309
  • 15
  • 48
  • 85

1 Answers1

0

Build a grid with sample data first. Get it working the way you want first. Then retrieve data from the DB and format it like the sample data.

TheSisb
  • 56
  • 5
  • The thing is that sample data is not good, I want to get it straight from the DB. So starting from blank or with preloaded sample data makes no difference. My question is how do I get it from the DB? All the data is there already. – randomizertech May 08 '13 at 13:23