Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-21659

Provide entry index in data attribute of LiveData

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 14.10.20, 15.10.1, 15.5.5
    • 14.10.19
    • Live Data
    • None
    • Unit
    • Unknown
    • N/A
    • N/A
    • Awaiting Committer feedback

    Description

      There's currently no easy and consistent way to access the index of a specific entry from the DOM: since a LiveData can be displayed as a card or as a table row, we cannot really use easily DOM traversal to compute that. And that information is very handy for using the JS API of LiveData. So it would be very useful to provide the info directly inside the DOM as a data attribute.

      Attachments

        Activity

          People

            surli Simon Urli
            surli Simon Urli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: