Background gridlines inside a node

Is it possible to show background gridlines only inside a node rather the on the complete diagram’s background?

See the bottom of this page regarding Grid panels: GoJS Grid Patterns -- Northwoods Software.

Thanks @jhardy for your response.

Yes, i have checked this page.

Using this, Is it possible to create such a diagram which looks like this:

Here, Node is having a gridlines in the background and also have red color bars as well which looks like a gantt-chart.

Thanks.

Sure, you can use a position panel or spot panel to place the red bars in the node relative to the grid.

Many of your questions are covered in the intro. I suggest starting with these pages:
https://gojs.net/latest/intro/panels.html
https://gojs.net/latest/intro/nodes.html

Thanks, I will go through these.