Prime ng 数据表排序图标的 Tab 索引问题 [英] Issue with Tab index for Prime ng datatables sort icon
本文介绍了Prime ng 数据表排序图标的 Tab 索引问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的应用程序中使用了主要的 ng 数据表.在那,我想对排序图标使用标签索引(<p-sortIcon>
),但它不起作用.谁能帮我这个??这就是我在代码中使用的方式 image
I've used the prime ng data table in my application.
In that, I want to use tab index for sort icon(<p-sortIcon>
) but it's not working. can anyone help me with this??
this is how I used in code image
并显示如下,一旦我进入选项卡,焦点就在那里,但我无法使用键盘进行排序.图片
And displaying as below, once I enter tab, got focus there but I'm unable to do sorting using the keyboard. image
推荐答案
为什么不使用 primeng 默认模块....
why dont you go with primeng default modules....
https://primefaces.org/primeng/#/table/sort
这篇关于Prime ng 数据表排序图标的 Tab 索引问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文