Clarity

 View Only
  • 1.  Editable Boolean Checkbox in grid portlet

    Posted Sep 29, 2020 11:32 AM
    I've created a portlet listing project specific information. One of those fields is a Boolean field. I can get the Boolean checkbox to display in the filter section, but I'd like to have the Boolean checkbox displayed in the grid results and make it so users can check that box and press save to have it editable form the portlet itself. Currently, I can only get the Boolean field to display as a 1 or 0 in the results.

    Is this possible?

    ------------------------------
    Senior Systems Admin
    TD Ameritrade
    ------------------------------


  • 2.  RE: Editable Boolean Checkbox in grid portlet

    Posted Sep 29, 2020 11:39 AM
    Edited by David Morton Sep 29, 2020 11:39 AM
    If the data-provider for your portlet is an object ; then yes, you can edit fields via that portlet.
    If the data-provider is a NSQL query ; then no - these are read-only, you would normally build a link from your read-only portlet to the underlying data.

    (as an aside - you can get the boolean to display as a check-mark (or a limited variety of other icons) rather than 1/0 by setting the display mappings in the query and then setting the field options in the portlet to display as an image)