Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Display and edit open/closed intervalls

    Hi there,

    we want to display a listgrid with different time-intervals (Name, beginDate, endDate).
    For this task we are using a textField and 2 dateFields in the ListGrid. Now we want to add the ability to switch the last intervall.
    either the intervall is closed (as the above) or the intervall should be open-ended and therefore it should display "open".
    We also want to enable edting of the intervalls, so the user can enter intervalls. It should be possible to enter data like that:

    John Doe 02/12/2013 02/30/2013
    Jane Stiles 03/05/2013 03/10/2013
    Dunkin Don 05/01/2013 open

    Do we have to implement an own ListGridFiled-type? Do you have an idea for best approach to do something like this?

    Best Regards
    Marcus

    #2
    There are various ways you could achieve this.
    The simplest is probably to use a date type field and set "Open" as your listGridField emptyCellValue. Then your actual data would contain nulls for the "Open" dates.

    Would this work for you?

    Comment


      #3
      Thanks, this is what i've searched for.

      Haven't thought of it

      Comment

      Working...
      X