@satowine wrote:
Hi!
So, this is the question:
I have this grid:
Can i draw a square into grid's cells by clicking on it?This is the code of grid model:
This is the definition of palette:
myPalette = //modello dei quadrati
$(go.Palette, "myPaletteSmall",
{
nodeTemplate: myDiagram.nodeTemplate,
layout: $(go.GridLayout)
});Can i trigger in some way the click event on the grid and add a new palette on it?
Thanks!
Posts: 2
Participants: 2