Skip to content

select function not trigger observe #478

@CnBDM-Su

Description

@CnBDM-Su

The selection function cannot trigger traitlets observe.

I am using select(), trying to realize control table both with manual and with function.
The observe function of table is only triggered when click, but not after select() function.

Do you know how to trigger it?

Example:
def func(change):
...
datagrid.observe(func, name=['selections'])
datagrid.select(row1=rows,column1=1,row2=rows, column2=1)

*func should be run based on new selections, but not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions