$dg->set_col_property("BeforeAfter1", array("formoptions" => array("rowpos" => 9, "colpos" => 1))); $dg->set_col_property("BeforeAfter2", array("formoptions" => array("rowpos" => 10, "colpos" => 1))); $dg->set_col_property("BeforeAfter3", array("formoptions" => array("rowpos" => 11, "colpos" => 1))); $dg->set_col_property("BeforeAfter4", array("formoptions" => array("rowpos" => 12, "colpos" => 1))); $dg->set_col_property("Comments2", array("formoptions" => array("rowpos" => 13, "colpos" => 1))); $dg->set_col_property("Comments2", array("editoptions" => array("style" => "width:95%;"))); $dg->set_col_property("FormstackImage1", array("formoptions" => array("rowpos" => 14, "colpos" => 1))); $dg->set_col_property("FormstackImage2", array("formoptions" => array("rowpos" => 14, "colpos" => 2))); $dg->set_col_property("FormstackImage3", array("formoptions" => array("rowpos" => 14, "colpos" => 3))); $dg->set_col_property("FormstackImage4", array("formoptions" => array("rowpos" => 14, "colpos" => 4))); $dg->set_col_property("FormstackImage5", array("formoptions" => array("rowpos" => 15, "colpos" => 1))); $dg->set_col_property("FormstackImage6", array("formoptions" => array("rowpos" => 15, "colpos" => 2))); $dg->set_col_property("FormstackImage7", array("formoptions" => array("rowpos" => 15, "colpos" => 3))); $dg->set_col_property("FormstackImage8", array("formoptions" => array("rowpos" => 15, "colpos" => 4))); // File upload section $dg->set_col_fileupload("BeforeAfter1", "/formstackdb/images/", "C:\\inetpub\\wwwroot\\formstackdb\\"); /* $dg -> set_col_fileupload("BeforeAfter2", "/formstackdb/images/", "C:\\inetpub\\wwwroot\\formstackdb\\"); $dg -> set_col_fileupload("BeforeAfter3", "/formstackdb/images/", "C:\\inetpub\\wwwroot\\formstackdb\\"); $dg -> set_col_fileupload("BeforeAfter4", "/formstackdb/images/", "C:\\inetpub\\wwwroot\\formstackdb\\"); */ // enable integrated search $dg->enable_search(true); // enable inline editing $dg->enable_edit("FORM", "CRUD"); $dg->set_form_dimension(1200, 700); // set export type $dg->enable_export('EXCEL'); // $dg -> enable_export('CSV'); // Page Size $dg->set_pagesize(15);