<object class="CustomNews" table="custom_news" extends="xPDOSimpleObject">
<field key="departmentID" dbtype="int" precision="10" phptype="integer" null="false" index="index" />
<field key="title" dbtype="varchar" precision="100" phptype="string" null="false" />
<field key="short_description" dbtype="varchar" precision="500" phptype="string" null="false" />
<field key="url" dbtype="varchar" precision="200" phptype="string" null="false" />
<field key="news_date" dbtype="date" phptype="date" null="false" />
<field key="active_yn" dbtype="varchar" precision="1" phptype="string" null="false" />
<index alias="departmentID" name="departmentID" primary="false" unique="false" type="BTREE" >
<column key="departmentID" length="" collation="A" null="false" />
</index>
</object>//$c->prepare();echo $c->toSql();
$c->prepare();echo $c->toSql();
refresh the grid by clicking the refresh-button under the grid.{"total":"34","results":[]}
what is the response in the firebug-console?
in core/components/migx/processors/mgr/default/getlist.phpSELECT `CustomDepartments`.`departmentID`, `CustomDepartments`.`locationID`, `CustomDepartments`.`department`, `CustomDepartments`.`alias_tv`, `CustomDepartments`.`resource_num`, `CustomDepartments`.`phone_number`, `CustomDepartments`.`suite`, `CustomDepartments`.`hours` FROM `cc_custom_departments` AS `CustomDepartments` ORDER BY id ASC LIMIT 10 {"total":"34","results":[]}
click the refresh-button under the grid again.
what do you get then as response in the firebug-console?
<?xml version="1.0" encoding="UTF-8"?> <model package="departments" baseClass="xPDOObject" platform="mysql" defaultEngine="MyISAM" version="1.1"> <object class="CustomDepartments" table="custom_departments" extends="xPDOObject"> <field key="departmentID" dbtype="int" precision="10" phptype="integer" null="false" index="pk" generated="native" /> <field key="locationID" dbtype="int" precision="10" phptype="integer" null="false" index="index" /> <field key="department" dbtype="varchar" precision="30" phptype="string" null="false" /> <field key="alias_tv" dbtype="varchar" precision="50" phptype="string" null="false" /> <field key="resource_num" dbtype="int" precision="10" phptype="integer" null="false" /> <field key="phone_number" dbtype="varchar" precision="15" phptype="string" null="false" /> <field key="suite" dbtype="varchar" precision="150" phptype="string" null="false" /> <field key="hours" dbtype="varchar" precision="75" phptype="string" null="false" /> <index alias="locationID" name="locationID" primary="false" unique="false" type="BTREE" > <column key="locationID" length="" collation="A" null="false" /> </index> </object> </model>