Announcement

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

    #16
    I have a DynamicForm that contains StaticTextItem elements and I would like to disable text selection from these text items.

    I tried using setCanSelectItem(false) but it doesn't work.

    What is the correct approach to disable text selection from a StaticTextItem or an entire DynamicForm? I searched the forum, but couldn't find relevant information.

    I'll appreciate any help.

    Comment


      #17
      now, the solution is very simple. You have only to add that following code : -->

      grid.setCanDragSelectText(true);
      grid.setCanSelectText(true);

      The cursor is an arrow but you can select the text with the mouse

      Comment

      Working...
      X