B
B
Bakiha2021-04-12 09:56:55
JavaScript
Bakiha, 2021-04-12 09:56:55

Bitrix24 main.ui.grid how to start the update?

I use the main.ui.grid component and I can't find how to update the table without reloading the page, that is, using a regular tool, as it is implemented in the component itself

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IgorVader, 2021-04-12
@Bakiha

infa

var reloadParams = { apply_filter: 'Y', clear_nav: 'Y' };
var gridObject = BX.Main.gridManager.getById('report_list');  // Идентификатор грида

if (gridObject.hasOwnProperty('instance')){
  gridObject.instance.reloadTable('POST', reloadParams);
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question