25th Jul 2018, 9:44 AM
Balaji Jawaharlal
Balaji Jawaharlal - avatar
3 Answers
+ 2
yeah I want to know how it works
25th Jul 2018, 9:52 AM
Balaji Jawaharlal
Balaji Jawaharlal - avatar
0
You mean how it works?
25th Jul 2018, 9:50 AM
Jonas Schröter
Jonas Schröter - avatar
0
Like,there's a table with the id "grid" when the "create" button is being hit, the table size is modified,so there are the colums and the rows you put in. On the single cells of the table,there are click listeners which are called when a cell is clicked. There you can check if it was a double click or a single one. When it's a single one,the background of the cell you clicked is set to you specified background color. When you double click one,it's background is being reset.
25th Jul 2018, 9:55 AM
Jonas Schröter
Jonas Schröter - avatar