ICEfaces
  1. ICEfaces
  2. ICE-9585

ace:dataTable Row/Cell Editing with filtering not working

    Details

      Description

      I have problem when I use row editing in combination with filtering.

      How to reproduce it:
      I downloaded code from:
      [url]http://icefaces-showcase.icesoft.org/showcase.jsf?grp=aceMenu&exp=dataTableBean[/url]
      and did small modification as you can see on attached picture.

      After that when I make filtering, i get wrong data to change as you can see on picture also.

        Activity

        Hide
        Zoran Djuric added a comment -

        One more comment.

        To make workaround for this issue, we use datatable without paging. But because we have a lot of element in list, when we use scrollbar and position at the middle of the screen, then click on EDIT button, scroll bar position is reset to the top

        Scrollbar position should remain unchanged, so instead <a href="#" ... or <a .. without href
        should be used:

        <a href ="" onclick="something();return false"

        Show
        Zoran Djuric added a comment - One more comment. To make workaround for this issue, we use datatable without paging. But because we have a lot of element in list, when we use scrollbar and position at the middle of the screen, then click on EDIT button, scroll bar position is reset to the top Scrollbar position should remain unchanged, so instead <a href="#" ... or <a .. without href should be used: <a href ="" onclick="something();return false"
        Hide
        Nils Lundquist added a comment -

        This issue is due to the filtered data set not being used to setup context when using visitTree to render ace:dataTable cell subregions.

        Show
        Nils Lundquist added a comment - This issue is due to the filtered data set not being used to setup context when using visitTree to render ace:dataTable cell subregions.
        Hide
        Arturo Zambrano added a comment - - edited

        Committed fix to 4.0 trunk at revision 39883 and to the 3.3 EE maintenance branch at revision 39885. The fix consists in regenerating the data model before executing visitTree(), so that the filtered data set is used, if available.

        Show
        Arturo Zambrano added a comment - - edited Committed fix to 4.0 trunk at revision 39883 and to the 3.3 EE maintenance branch at revision 39885. The fix consists in regenerating the data model before executing visitTree(), so that the filtered data set is used, if available.
        Hide
        Ken Fyten added a comment -

        Re-open to be applied to the maintenance branch also.

        Show
        Ken Fyten added a comment - Re-open to be applied to the maintenance branch also.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Zoran Djuric
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: