ICEfaces
  1. ICEfaces
  2. ICE-2466

rowSelector toggleOnClickColumns

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.7DR#2
    • Fix Version/s: None
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      When a dataTable has columns that have input components or buttons or links, interacting with those components will affect the row selection. Some people have expressed dissatisfaction with the toggleOnClick="false" means of dealing with them, where one would have to use a checkbox for row selection.

      So, here's an alternate approach, where you specify the zero-based column indexes of the columns that you do want to toggle when clicked. If this attribute is specified, then the row selection Javascript would operate on all of the specified column TD tags, instead of the row TR tag. That way, certain columns would be clickable for row selection, and others not, which is where the input, button, or link components would be.

        Activity

        Hide
        Sheng Gu added a comment -

        This feature is very useful, since most table list has some function (link or button) on its row. Thank you.

        Show
        Sheng Gu added a comment - This feature is very useful, since most table list has some function (link or button) on its row. Thank you.
        Hide
        Mark Collette added a comment -

        Now I think that ICE-2471 would be a better approach

        Show
        Mark Collette added a comment - Now I think that ICE-2471 would be a better approach

          People

          • Assignee:
            Unassigned
            Reporter:
            Mark Collette
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: