Only top (first) row selectable ← Knowledge Base Please always include primary key and table name (2nd, 3rd parameter) in your first line.$dg = new C_DataGrid("SELECT * FROM data", "KEY", "TABLENAME"); $dg -> display(); Please read: http://phpgrid.com/documentation/construct-our-phpgrid/