Announcement

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

    #16
    Can you make that truly standalone? There's an existing example that's basically identical so it's important to really make the example complete.

    What version of SmartGWT and what browser are you using?

    What's the behavior you're seeing *exactly*. Multiple selection allowed via shift and ctrl click, or something else? What exact mouse clicks and keypresses lead to the problem?

    Comment


      #17
      Hello Iso,

      the issue on my side is on the hosted mode (I have not tested it in real browser)

      despite the SINGLE mode I put on my grid I still can multiple select records by clicking on CTRL + mouse click

      I have no standalone example to show you. Sorry.

      Regards

      Comment


        #18
        Originally posted by pascalpug
        Code:
        setSelectionAppearance(SelectionAppearance.CHECKBOX)
        congratulations on that!
        works great and is exactly what I needed!
        Hi everyone,

        sorry to bump this old thread but I just realized that we can't multiple select in listgrid when we choose the checkbox appearance. I don't understand this choice as the checkbox style should be used for multiple selection (as it is usually done in classic web apps).

        Will it be possible in a near future to use checkbox style and multiple selection in listgrid ?

        Thanks

        Comment


          #19
          In this example multiple records can be selected.

          Comment


            #20
            Hi Sanjiv

            thank you for the link.
            It works fine.
            But I don't understand why we have to set the style to SIMPLE to make multiple selection :)

            Nevertheless it does the job so it's fine ;)

            Thanks

            Regards

            Comment


              #21
              How to make certain rows unselectable?

              I have a list grid that shows both installed and uninstalled packages and I want to disable rows with uninstalled packages. Is there a way to achieve this?

              Comment


                #22
                Originally posted by jbsofttech
                I have a list grid that shows both installed and uninstalled packages and I want to disable rows with uninstalled packages. Is there a way to achieve this?
                Please create a new thread. Your question is not related to this post.

                Comment


                  #23
                  Sorry about that.

                  I thought it is related as it is about the list grid and check boxes and people get benefited from the issues related to the check boxes.
                  Sorry for that.
                  I will create a new thread for this.
                  Thanks

                  Comment


                    #24
                    Broken: setSelectionType (SelectionStyle.SINGLE) in 1.1

                    setSelectionType (SelectionStyle.SINGLE) doesn't appear to do anything for me in SmargGwt 1.1

                    I have...

                    setCanDragSelect(false);
                    setSelectionType(SelectionStyle.SINGLE);

                    I seem to recall this worked in 1.0b3

                    Comment


                      #25
                      Try SelectionStyle.SIMPLE

                      Comment


                        #26
                        But the doco for SIMPLE allows says

                        "select one or more items as a toggle"

                        I don't want multiselect?

                        Thoughts?

                        Comment


                          #27
                          Use SINGLE (it was fixed after 1.1).

                          Comment

                          Working...
                          X