Announcement

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

    Listgrid with more columns selections

    Hi guys,
    I'm pretty new with the smartClient and i wonder if there's any properties on listGrid/listgridFields which can do the same thing as the property on listGrid
    Code:
    setSelectionType(SelectionStyle.SIMPLE);
    not only for a column "select" but for more,or even all.And i need the checkboxes from the header to keep the count for all the column (to be selected or not depending on the records).
    I've attached a picture of the listgrid.
    Thanks in advance.
    Attached Files

    #2
    You can either:

    1. use canSelectCells. Selected cells will change background color as with normal selection

    2. use columns of type "boolean" with canToggle:true. Boolean columns render as checkboxes by default, and setting canToggle:true means you can change the value with one click.

    Comment

    Working...
    X