Как я могу установить проверку по умолчанию в Ag-Grid React.js?Html

Программисты Html
Anonymous
Как я могу установить проверку по умолчанию в Ag-Grid React.js?

Сообщение Anonymous »

Я использую React ag-grid, и у меня есть флажок Selection на строках. Я хочу, чтобы некоторые ряды были проверены по умолчанию, а другие - нет. Как я могу это сделать?

Код: Выделить всё

// ...
columnDefinationVoucherList: [
{ headerName: "", cellRenderer: countCellIndex, width: 50, minWidth: 40, maxWidth: 50, editable: false, },
{ headerName: "Belge Kodu", field: "ApplicationVoucher.Voucher.VoucherCode", width: 50, minWidth: 50, maxWidth: 80, suppressSizeToFit: true, sortable: true },
{ headerName: "Belge Adı", field: "ApplicationVoucher.Voucher.VoucherName", width: 120, minWidth: 50, suppressSizeToFit: true },
{ headerName: "Seç", field: "", width: 90, minWidth: 10, suppressSizeToFit: true, maxWidth: 50, checkboxSelection: true, },
],

// ...


Я также использую корпоративный режим, поэтому я открыт для всех решений.

Подробнее здесь: https://stackoverflow.com/questions/701 ... d-react-js

Вернуться в «Html»