gridPanel.doLayout() :) why are you setting the function on the doOnRender??? the onRender is called only once, when the component is rendered.... have you checked if the function execute is called?? the text: "\n -->>You enter here doOnRender" " appears in the console???
bye Pat 2010/1/8 Allan Zarsuela <[email protected]> > Thanks for the reply.Not yet. I'll check it over. Do you have a suggested > code about it? > I think that is a big possibility of the logical error since I already have > applied the > the gridPanel.getSelectionModel().selectAll(); inside the doOnRender as > i have researched. > > > > > On Fri, Jan 8, 2010 at 7:10 PM, Patrizio De Michele > <[email protected]>wrote: > >> have you tried a doLayout on the treePanel or better on its container? >> bye Patrizio >> >> 2010/1/8 Allan Zarsuela <[email protected]> >> >>> I am new to GWT-EXT. So basically my problem is how to programmatically >>> check all the checkboxes >>> placed as columnfield in the GridPanel. >>> >>> >>> The scenario is that I am to click a tree node in panelA then the details >>> should be seen in the panelB. This should be shown in the gridPanel. >>> >>> When I used the code below, the values in the gridPanel won't show. >>> Only the gridPanel header shows. Please help. >>> >>> >>> >>> //=============================================== >>> * >>> >>> public >>> * *void* onCheckChange(TreeNode node, *boolean* checked) { >>> >>> *...* >>> >>> gridPanel.doOnRender(new Function() { //added by *alz* 01-08-2010 >>> >>> public void execute() { >>> >>> gridPanel.getSelectionModel().selectAll(); >>> >>> System.out.println("\n -->>You enter here doOnRender" ); >>> >>> } >>> >>> }); >>> >>> fillGrid(Integer.*valueOf*(node.getAttribute( >>> "id")).intValue(),gridPanel.getStore()); >>> *...* >>> } >>> >>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "GWT-Ext Developer Forum" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]<gwt-ext%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/gwt-ext?hl=en. >>> >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "GWT-Ext Developer Forum" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<gwt-ext%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/gwt-ext?hl=en. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "GWT-Ext Developer Forum" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<gwt-ext%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/gwt-ext?hl=en. > >--
You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/gwt-ext?hl=en.
