MyFaces Core
  1. MyFaces Core
  2. MYFACES-763

support of ellipsis (...) in data cells

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      all.

      Description

      If the value of a cell is to bigg, having it truncated and three dots shown (...) would be nice. this is a css3 feature text-overflow: ellipsis, but FF does not support this yet. On http://www.hedgerwow.com/360/dhtml/text_overflow/demo.php is a nice workaround which would be great to have in the extended datagrid

        Activity

        Hide
        Mathias Broekelmann added a comment -

        Cool stuff. I`m looking for this for month.
        Since this is more an css issue I wondering how we can integrate it easily. Adding the javascript to a page should be quite easy for the user. As far as I see the javascript functions are never called by page (special FF hooks?).
        I think it´s better to create a wiki entry for this which explains how this can be done.

        Show
        Mathias Broekelmann added a comment - Cool stuff. I`m looking for this for month. Since this is more an css issue I wondering how we can integrate it easily. Adding the javascript to a page should be quite easy for the user. As far as I see the javascript functions are never called by page (special FF hooks?). I think it´s better to create a wiki entry for this which explains how this can be done.
        Hide
        Ronald van Kuijk added a comment -

        Yes, it uses XBL (xml binding language) a nice feature of low level FF, closely related to XUL.

        I agree that it could be done easily by the user, and adding it to the wiki is a good idea. But there should be a comment as well on the datatable page of the tomahawk components to this wiki entry. But if it could be integrated in the datatable it would be even better, and for someone who knows how to build jsf components not to much work:

        • add the js file
        • add the css entry
        • add a class 'overflow' to the table tag
        • add a <div class="underflow">.......</div> in each td for the column where the user specified the attribute ellipses="true"
        Show
        Ronald van Kuijk added a comment - Yes, it uses XBL (xml binding language) a nice feature of low level FF, closely related to XUL. I agree that it could be done easily by the user, and adding it to the wiki is a good idea. But there should be a comment as well on the datatable page of the tomahawk components to this wiki entry. But if it could be integrated in the datatable it would be even better, and for someone who knows how to build jsf components not to much work: add the js file add the css entry add a class 'overflow' to the table tag add a <div class="underflow">.......</div> in each td for the column where the user specified the attribute ellipses="true"

          People

          • Assignee:
            Unassigned
            Reporter:
            Ronald van Kuijk
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development