Prime ng数据表排序图标的Tab索引问题 [英] Issue with Tab index for Prime ng datatables sort icon
本文介绍了Prime ng数据表排序图标的Tab索引问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在应用程序中使用了原始ng数据表.
在这种情况下,我想使用标签索引作为排序图标( <p-sortIcon>
),但是它不起作用.谁能帮我这个??
这就是我在代码图像
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屋!
查看全文