• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to disable selection on <rich:scrollableDataTable>?

 
Dima Chornyi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

i need to disable selections on the Scrollable data table component of the RichFaces, that is on clicking a row it should not be highlited. I cannot just pick a highlight color matching the background since the rows themselves have alternating background colors. On the corresponding page (http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/scrollableDataTable.html) i read:
"Selection is optional and availability of such feature is defined on the component.", but i cannot find the actual parameter responsible for selection anywhere. Does anybody here know how to disable it?

Thank you for your help.

 
Dima Chornyi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While researching another problem, i found the solution for this. Since one can redefine the classes RichFaces uses, this did the trick:

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!