How to add rows and columns to a schedule column header and write text into the created cells using Dynamo

Hi
I was wondering if it would be possible to add columns and rows to a schedule header using Dynamo, like what we can do in Revit. If yes how can I write text into created cells afterwards?
I mean something like the following image. I know Droots is using this method to create the schedule views from an Excel file, but have no idea about how to do that in Dynamo.

I do appreciate it if you could guide me on what to do.

Sincerely,
Farshid