Giter VIP home page Giter VIP logo

Comments (3)

seonim-ryu avatar seonim-ryu commented on September 18, 2024

@globeer
editOptions를 통해서 생성된 input 중 어느 타입에서 이벤트가 발생하지 않는지요?
좀 더 구체적으로 전달해주시면 감사하겠습니다. :)

from tui.grid.

globeer avatar globeer commented on September 18, 2024

그리드 칼럼 할인률을 입력후에 onBlur 시에 판매금액을 수정하는 기능입니다.
코드는 다음과 같습니다.

          {
            title : "<b>할인률</b>"
          , name : "dscnt_rt"
	      , align : "right"
          , editOptions : {
                type: 'text',
                onBlur : function(ev, data) {
                	var calcValue = grid_tab_sales_treat.getValue(data.rowKey, 'bsn_untpc') * (100 - parseInt(ev.target.value)) * 0.01;
              	    grid_tab_sales_treat.setValue(data.rowKey, 'pymnt_amount', calcValue);
                }
               }	            
          }	          

from tui.grid.

seonim-ryu avatar seonim-ryu commented on September 18, 2024

@globeer
예제 코드로 해당 브라우저(Firefox, IE11)에서 blur 이벤트 정상 동작하는 것을 확인하였습니다.
다른 PC 환경에서도 동일한 현상이 발생하는지 확인 부탁드리며 os 정보도 전달해주시면 감사하겠습니다. :)

from tui.grid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.