tui.grid icon indicating copy to clipboard operation
tui.grid copied to clipboard

selection off function not working

Open JongHyeonKimDev opened this issue 2 years ago โ€ข 1 comments

Describe the bug ๊ทธ๋ฆฌ๋“œ ๊ธฐ๋Šฅ์ค‘ selection ๊ธฐ๋Šฅ off ๊ธฐ๋Šฅ์ด ๋™์ž‘ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. (the selection function off function does not work.)

์‹ค์ œ ์ฝ”๋“œ grid.off('selection');

๊ทธ๋ฆฌ๋“œ ์ƒ์„ฑ ํ›„ grid.off ๊ธฐ๋Šฅ์„ ํ™œ์šฉํ•˜์—ฌ selection ๊ธฐ๋Šฅ์„ off ํ•˜๊ณ  ์‹ถ์ง€๋งŒ ์‹ค์ œ ์ฝ”๋“œ์—์„œ off ์‹œ์ผœ๋„ ๊ทธ๋ฆฌ๋“œ์—์„œ selection์ด ํ™œ์„ฑํ™” ๋˜์–ด shift ํ‚ค๋ฅผ ๋ˆ„๋ฅธ ํ›„ ๊ทธ๋ฆฌ๋“œ์—์„œ ํด๋ฆญํ•˜๋ฉด selection ๊ธฐ๋Šฅ์ด ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค. ํ•ด๋‹น๊ธฐ๋Šฅ์„ ์ •์ง€ ์‹œํ‚ค๋Š” ๋ฐฉ๋ฒ•์€ ์—†์Šต๋‹ˆ๊นŒ?

(After creating the grid, I want to turn off the selection function by using the grid.off function, but even if I turn it off in the actual code, selection is activated in the grid. Is there any way to stop the function?)

JongHyeonKimDev avatar Jul 11 '22 07:07 JongHyeonKimDev

@JongHyeonKimDev

off is API used to remove handler for custom event. Currently, There is no way to stop the selection, but I'll consider adding it. Thanks!

jajugoguma avatar Aug 09 '22 07:08 jajugoguma