updateRows( newRows ) {
		const {
			attributes,
			setAttributes
		} = this.props;

		const {
			columns,
			objectData
		} = attributes;

		// If necessary, add new placeholder data.
		this.addNewObjectData( newRows * columns - objectData.length );
		
		setAttributes( {
			rows: newRows
		} );
	}
/**
	 * Callback function to change number of rows in the grid.
	 * 
	 * @param {number} newRows The number of new rows in the grid.
	 */
Callback function to change number of rows in the grid.

@param {number} newRows The number of new rows in the grid.
Callback function to change number of rows in the grid . @param { number } newRows The number of new rows in the grid .
updateRows( newRows ) {
		const {
			attributes,
			setAttributes
		} = this.props;
		const {
			columns,
			objectData
		} = attributes;
		this.addNewObjectData( newRows * columns - objectData.length );
		setAttributes( {
			rows: newRows
		} );
	}
updateRows ( newRows ) { const { attributes , setAttributes } = this . props ; const { columns , objectData } = attributes ; this . addNewObjectData ( newRows * columns - objectData . length ) ; setAttributes ( { rows : newRows } ) ; }
Callback function to change number of rows in the grid.
Callback function to change number of rows in the grid .
// If necessary, add new placeholder data.