How at a time one row can expand in

?

前端 未结 4 1823
抹茶落季
抹茶落季 2020-12-10 17:45

In my application I have a with rowExpansion column. I have a requirement to open a single row at a time. If anyone tries to ex

4条回答
  •  借酒劲吻你
    2020-12-10 18:16

    As of 2015, and this question is first in Google search results, I want to add that for PrimeFaces 5.1, there is dataTable attribute rowExpandMode, when set to single - allows only one row to be shown. Example:

    
    

    It's not exactly what was asked, but I hope that it'll help to others.

提交回复
热议问题