This is a migrated thread and some comments may be shown as answers.

Update Cell of Speardsheet

2 Answers 25 Views
Wrappers for React
This is a migrated thread and some comments may be shown as answers.
Rohullah
Top achievements
Rank 1
Rohullah asked on 14 Jul 2020, 07:57 AM

hello

is exist any example for update cell of Spreadsheets in kendo ui?

thanks

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 14 Jul 2020, 09:58 AM
0
Mohammad
Top achievements
Rank 1
Veteran
answered on 01 Sep 2020, 07:26 AM
Spreadsheet = React.createRef();
 
const sheet = this.Spreadsheet.current.widgetInstance.activeSheet();
 
this.state.sheet.range(column + i).value(arrayValue[i]);
        this.state.sheet.range(column + i).background('#B5F78D');
        this.state.sheet.range(column + i).textAlign('center');
 
<Spreadsheet
              rows={1000}
              columns={5000}
              sheets={consts.sheets}
              ref={this.Spreadsheet}
            />
Tags
Wrappers for React
Asked by
Rohullah
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Mohammad
Top achievements
Rank 1
Veteran
Share this question
or