Quantcast

(no subject)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(no subject)

fortizma
how can I uncheck programatically a dojox.grid.EnhancedGrid with indirectselection

I tried this but still checked the radiobutton. 

var items= grid.selection.getSelected();
for(i=0;i<(items.length);i++){
   grid.rowSelectCell.toggleRow(i, false);


thanks in advance. 
--
------------------------------------------------------
Felipe A. Ortiz Marín.

--
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

[hidden email]
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: (no subject)

fortizma
solved...;)

grid.store.fetch({onComplete:dojo.hitch(this,function(items){
for(i=0;i<(items.length);i++){
if(grid.selection.isSelected(i)){
grid.rowSelectCell.toggleRow(i, false);
}
}
})});

On Thu, Apr 14, 2016 at 8:21 PM, Felipe Ortiz M. <[hidden email]> wrote:
how can I uncheck programatically a dojox.grid.EnhancedGrid with indirectselection

I tried this but still checked the radiobutton. 

var items= grid.selection.getSelected();
for(i=0;i<(items.length);i++){
   grid.rowSelectCell.toggleRow(i, false);


thanks in advance. 
--
------------------------------------------------------
Felipe A. Ortiz Marín.

--
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

[hidden email]
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest




--
------------------------------------------------------
Felipe A. Ortiz Marín.

--
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

[hidden email]
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Loading...