Announcement

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

    TreeGrid, Checkbox Selection, canSelect:false

    I have a tree that we want to use checkbox selection for consistency with other multi select interfaces. However, selection is only possible at the top level, sub level items are not selectable. This ends up causing large spaces when rendered. Is there a way to alleviate this issue? Screen shot provided.
    Attached Files

    #2
    Checkbox selection is supported for TreeGrids, with the exception of some edge cases like attempting to perform cascading selection with load-on-demand trees (where clearly we would have to perform server-side operations in order to maintain consistency).

    If you can show us a test case (and version info) which reproduces this problem we will take a look.

    Comment


      #3
      Never mind - we revisited this issue and realized you must be referring to a TreeGrid with some non-selectable nodes (canSelect set to false).

      We have introduced a new property treeGrid.leaveSelectionCheckboxGap which governs whether or not we write a spacer out for non-selectable nodes in a tree when checkbox selection appearance is turned on. This will be present in the next nightly build (dated Nov 9 or greater).

      You can alternatively use the existing treeGrid.showDisabledSelectionCheckbox flag to show a disabled checkbox icon for non-selectable nodes.

      Regards
      Isomorphic Software

      Comment


        #4
        I tried on the 9th, and again this morning to check the patched versions for this new API method with no success.

        Comment


          #5
          We have a developer assigned to take a look at why this API didn't make it into that build. We'll update when we have more information

          Thanks
          Isomorphic Software

          Comment


            #6
            Not sure why this would have been missing on the builds you tried. It certainly seems to be present in the latest nightly: http://www.smartclient.com/smartgwte....lang.Boolean)

            If you still aren't seeing it in the most recent nightly build - please confirm which branch / exact version you're checking against.

            Thanks
            Isomorphic Software

            Comment


              #7
              I am downloading SmartGWT Power Edition 3.0p located here: http://www.smartclient.com/product/download-bounce.jsp?product=smartgwt&license=power&version=3.0p&nightly=true

              Comment


                #8
                Ah - the change was made against 3.1d and 4.0d only. We'll patch across to the 3.0p branch

                We'll make this change today so it will be available in the next nightly build.

                Regards
                Isomorphic Software

                Comment


                  #9
                  Thank you, that was exactly what I was looking for

                  Comment

                  Working...
                  X