Grid Node Customize

I want a node like the one I drew in red. How can I do it?