tui.grid
tui.grid copied to clipboard
Question for "Custom Renderer"
Summary I want show "input" style without doubleclick or click, but it doesn't works.
Screenshots
[As - is]
In screenShot 1, There is no input style. In screenShot 2, After doubleclick or click specific cell, we can see a cell with input style.
[To - be]

Like screenShot 3, I want to show input style at beggning.(without doubleclick or click)
Version latest (4.20.3)
Additional context There are many issues and API guides, but it doesn't work. Because it seeams that all issue and API guide explain how to use custom renderer with "Vue or React or Other JS libraries". (https://github.com/nhn/tui.grid/issues/638 <- like this issue) But i am working with JSP.
So i want to see how to use custom renderer in JSP.
β The contents below are the same as the one above. The difference is only English and Korean.
μμ½ input μ€νμΌμ λλΈν΄λ¦μ΄λ ν΄λ¦ μμ΄ μ²μλΆν° 보μ¬μ£Όκ³ μΆμλ°, μ μ©μ΄ μλ©λλ€.
μ€ν¬λ¦°μ· μ€λͺ [As - is] μ€ν¬λ¦°μ· 1μμ 보λ―μ΄, μ ν΄λ¦ μμ΄λ μλ§ λͺ¨λκ° νμ±νλμ§ μμ΅λλ€. μ€ν¬λ¦°μ· 2μ²λΌ ν΄λ¦μ ν΄μΌ input μ€νμΌμ΄ νμ±ν λ©λλ€.
[To - be] μ€ν¬λ¦°μ· 3μ²λΌ λ°μ΄ν°λ₯Ό λΆλ¬μ¨ ν, λλΈν΄λ¦μ΄λ ν΄λ¦ μμ΄ μ²μλΆν° μλ§ λͺ¨λ(input μ€νμΌ)μ νμ±ν μν€κ³ μΆμ΅λλ€.
λ²μ μ΅μ λ²μ (4.20.3)
μΆκ° λ΄μ© 컀μ€ν λ λλ¬μ κ΄λ ¨λ λ§μ μ΄μμ κ°μ΄λ λ¬Έμκ° μμ§λ§, μ μν©μλ λ§μ§ μμ΅λλ€. κ΄λ ¨ λ¬Έμλ€μ΄ Vueλ React, κΈ°ν μλ°μ€ν¬λ¦½νΈ λΌμ΄λΈλ¬λ¦¬ μ©μΌλ‘ μμ±λμμΈ λ― ν©λλ€. (https://github.com/nhn/tui.grid/issues/638 <- μ΄λ° μ΄μμ²λΌμ) κ·Όλ° μ JSPλ‘ κ°λ°νκ³ μμ΅λλ€.
κ·Έλμ JSPμμλ 컀μ€ν λ λλ¬λ₯Ό μ¬μ©νλ λ²μ μκ³ μΆμ΅λλ€. (ν΄λΉ κ°μ΄λλ¬Έμλ μ΄μμ λμ€λ propsλ render λ±λ±... jspμμλ ν΄λΉλμ§ μλ μ¬νλ€μ΄ λ§μ΅λλ€)
λλλ¬λ₯Ό ν΅ν΄ textλ selectλ₯Ό κ°κ³΅νμ¬ λ§λ€μ μμ§λ§ styleμ΄ μ μμ μ΄μ§ μμ κ°μ μ μΌλ‘ μ‘°μ ν΄μ€μΌ νλ λ¬Έμ κ° μμ΅λλ€. λν datepickerκ°μκ²½μ°λ λ¬Έμ κ° λλ κ² κ°μλ°μ.. μ΄μ μ΄μμλ λμ¨ μ΄μΌκΈ°μ΄μ§λ§ useViewMode : false ν΄λΉ μμ±μ΄ μ¬λΌμ§ μ΄νλ‘ λ°μν κ² κ°μλ°...
ν΄λΉ μμ±μ μ΄λ €μ£Όμ€ μ μλμ??
@shhong94 @MrILac
Currently, It is not supported. Thanks for the good comments. We will consider adding that feature.
This issue has been automatically marked as inactive because there hasnβt been much going on it lately. It is going to be closed after 7 days. Thanks!
This issue will be closed due to inactivity. Thanks for your contribution!