nicegui icon indicating copy to clipboard operation
nicegui copied to clipboard

AG-Grid's `'rowSelection': {'mode':"multiRow",'headerCheckbox':False}` won't work

Open python-and-fiction opened this issue 4 months ago • 3 comments

Description

It is same as https://github.com/ag-grid/ag-grid/issues/8855 Following code won't work as expected.

from nicegui import ui

grid = ui.aggrid({
    'defaultColDef': {'flex': 1},
    'columnDefs': [
        {'headerName': 'Name', 'field': 'name'},
        {'headerName': 'Age', 'field': 'age'},
        {'headerName': 'Parent', 'field': 'parent', 'hide': True},
    ],
    'rowData': [
        {'name': 'Alice', 'age': 18, 'parent': 'David'},
        {'name': 'Bob', 'age': 21, 'parent': 'Eve'},
        {'name': 'Carol', 'age': 42, 'parent': 'Frank'},
    ],
    'rowSelection': {'mode':"multiRow",'headerCheckbox':False},
    
}).classes('max-h-40')

ui.run(native=True)

E5NCGJC5{9{3(KOODE P52M

When i upgrade ag-grid to 32.2.1, it works well. 6 D5EYT52YGFI {~1VJG@4P

python-and-fiction avatar Oct 10 '24 15:10 python-and-fiction