Hi Khushboo,
I am reluctant to use this code as it is.
I would prefer you create just helper functions (i.e. initialize, remove) for the dependents in Backgrid.Cell, and then use them directly from the different cell itself.
Because - this functionality limits us to us only with the string type.
Anyway - we will be using the dependent functionality for very attributes.
You can extend them directly in the Node's model (schema).