have tried to use dojo data with dojox grid but don't work.the output are
only 2 checkbox without label.have take part of code from
here:http://www.zend.com/topics/Zend-Framework-Dojo-webinar.pdf
this i s my own code:
view script:
<table jsId="grid" dojoType="dojox.grid.Grid" store="activeStore" query="{
id:'*'}">
<tr><th field="id"><th field="categoria"></tr>
</table>
dojo data action:
lic function activeAction(){
$model=new RegistroFile();
$dojoData= new Zend_Dojo_Data('id',$model->fetchAll(),'id');
$this->view->data=$dojoData;
}
on dojo data view script have used the "toJson" method on output.on
bootstrap have used this code:
$view=$layout->getView();
Zend_Dojo::enableView($view);
$view->dojo()->setLocalPath('/js/dojo/dojo.js')
->addStylesheetModule('dijit.themes.soria')
->requireModule('dojo.data.ItemFileReadStore')
->requireModule('dojox.grid.Grid')
->disable();
what is the problem?
--
View this message in context: http://www.nabble.com/Dojo-grid-problem-tp20988533p20988533.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论