1 Reply Latest reply on Jan 8, 2010 9:54 AM by Jay Balunas

    How to change/modify onClick event for sorting icons in the scrollable data table

    Venkat Maddipati Newbie
      I have downloaded the richfaces sources and changing the skin of the scrollable data table ,So for that i need to know where that onClick event for sorting icons takes place in the example or rich faces sources.In this example.js files  are coming from JBOSS repository whenever we build the application,So i couldn't able to change.


      Since by default the sorting icons are invisible.Ex: So once onClick event fires sorting icon will be appear and header text should be 4px left padding to the sorting icon and 4px right padding space to the sorting icon.


      For that we need to apply the css to the onClick event of  rich faces scrollable data table header.But we couldn't find the onClick event in the example page.This event is coming from richfaces renderkit javascript functions.


      In this case  .js files  are coming from JBOSS repository whenever we build the application, so we cannot change the files over there.


      Is there any alternative to apply the css to onClick event over there , And, how it will effect to our own skins.


      The location of the coreesponding .js file is
      richfaces\branches\community\3.3.X\ui\scrollableDataTable\src\main\javascript\ClientUI\controls\grid\GridHeader.js line 175 and 331.


      Please do the needful.