Hi Tapas,
You can align the merged cells inside the ‘queryCellInfo’ event based on your condition. Please refer to the below code example for more information.
|
public queryCellInfoEvent: EmitType < QueryCellInfoEventArgs > = (
args: QueryCellInfoEventArgs
) => {
. . .
// Based on your condition
(args.cell as HTMLElement).style.textAlign = 'Center';
}
|
Please get back to us if you need further assistance on this.
Regards,
Pavithra S.