简体   繁体   中英

Dojo datagrid disable focus

I am trying to create a matrix using dojox.Datagrid I have disabled the rows and cells in javascript with pointerEvents:none. My probelm is that in IE 11 the double click on the cell messes with the layout scrollbars. I looked into it and it is the cell focus event that does this. Is there any way to disable focus for a DataGrid? I have not found an answer in the API. My datagrid is already created with editable false.

Whether a widget is focusable or not depends on the tabIndex attribute of the corresponding DOM node. Maybe removing it from your Datagrid will do the job.

Have a look here.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM