gwt rpc - ListField displays no ListSTore data Ext GWT -
i have rpc method returns raw data db. trying fill lisfield data using liststore. ok, when listfield rendered have rows, no displaying data. can select row , navigate first row las, nothing view.
so whats problem? should add store lisstore after store loaded data, how can that?
rpc = rpcinit.initrpc(); rpcproxy<list<webasystproductdata>> proxy = new rpcproxy<list<webasystproductdata>>() { @override public void load(object loadconfig, asynccallback<list<webasystproductdata>> callback) { rpc.getwebasystproductdata(callback); } }; beanmodelreader reader = new beanmodelreader(); listloader<listloadresult<beanmodel>> loader = new baselistloader<listloadresult<beanmodel>>(proxy, reader); store = new liststore<beanmodel>(loader); listfield<beanmodel> feedlist = new listfield<beanmodel>(); feedlist.setstore(store); feedlist.setdisplayfield("productidwa"); loader.load();
Comments
Post a Comment