1 Reply Latest reply on May 20, 2008 4:09 PM by j-pro

    How remove scrollableDataTable selection, displayed after pa

    j-pro

      Good afternoon, dear RF developers.

      Could you please give an advice me on how to remove visual selection(row highlighting) from scrollableDataTable on page loading? I have a method which cleans all managed bean's variables, so I can do it there, but I just don't know how. Do I need to bind it and then call something like "remove" or "clear"?

      The case in which I have it highlighted is:

      1. Click on a row, it's highlighted. (after it my onclick listener fills managed bean's variables)
      2. Click on a link, which opens another page with a form(to edit the record from the table).
      3. Make all my changes there and submit the form. (if the record is updated successfully, action method opens this page with scrolableDataTable again(using navigation-case in navigation-rule), but first clearing all data from managed bean variables). And here my row is highlighted again as if I clicked on it(but I haven't).

      So, how to remove it?

      Thanks in advance!