Announcement

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

    Selecting and De-Selecting checkboxes

    Hi Isomorphic,

    1) I am having one textbox by clicking on that listgrid will appear with 2 columns.
    2) One column with checkboxes and other with corresponding values.
    3) By clicking on that first checkbox in first row all the checkbox should get selected.
    4) Same for De-selecting also.
    5) I want to achieve this without using selectionAppearance.
    6) Suggest any solution for this query.

    Thanks in advance..

    #2
    This sounds like simply a field of type "boolean" with canToggle:true. If not, then please provide enough detail so that someone could reasonably answer your question, it's very vague.

    Comment


      #3
      Hallo,
      I'm use setSelectionAppearance(SelectionAppearance.CHECKBOX) by ListGrid

      Who can i per default select a new record?

      Code:
      . . . 
      ListGrid listGrid = new ListGrid();
      listGrid.setSelectionAppearance(SelectionAppearance.CHECKBOX)
      . . . 
      
      IButton add = new IButton("add","Add record");
      add.addClickHandler(new ClickHandler() {
      
      	    @Override
      	    public void onClick(ClickEvent event) {			
      		listGrid.startEditingNew();
      
      		
      	    }
      	});

      Comment

      Working...
      X