Is it possible to define custom properties for seat in gojs seating chart please help me how to define it
Yes. First, I should point out that the Seating Chart sample was designed so that there would be separate templates for each combination of tables and seating configuration. That way the model data for each table would not need to hold any table-specific configuration information except the template name – i.e. the category.
Note that the original templates create seats in a template by calling a function (named “Seat”) that constructed a Panel with some GraphObjects in it. Each such panel was added directly to the Node, which is also a “Spot” Panel.
Note that the binding context for Bindings in your item template will be the seat object in the array, not the whole node data object. The original seat was created with bindings of “fill” and “angle”, but those won’t work any more unless you put the properties into your seat objects.
Read more about item arrays at: http://gojs.net/latest/intro/itemarrays.html .
There are many samples that use this mechanism; these samples might be instructive: http://gojs.net/latest/samples/entityRelationship.html and http://gojs.net/latest/samples/pipes.html .
Thanks for your help…