Dev
-
Extjs pagingtoolbar refresh button hideDev/JavaScript 2014. 2. 7. 15:02
Extjs pagingtoolbar 에서 refresh 버튼을 숨기는 방법은 아래와 같다.var bbar = Ext.create('Ext.PagingToolbar', { store: store, id:'bbar-component', displayInfo: true, displayMsg: 'Datanodes {0} - {1} of {2}', emptyMsg: "No DataNode" }) bbar.getComponent('refresh').hide(); Extjs pagingtoolbar 에서 버튼 컴포넌트를 가져오는 방법은 아래와 같다.Ext.getCmp('bbar').getComponent('first');Ext.getCmp('bbar').getComponent('prev');Ext.getCmp('bb..
-
MySQL에서 BOOLEAN TYPE 사용하는 팁Dev/MySql 2014. 1. 13. 11:52
MySql 에서 BOOLEAN TYPE 은 5버전대부터 사용이 가능하다. 실제로 BOOLEAN(BOOL) TYPE 으로 정의하면 TINYINT(1) 형식으로 정의 된다. 데이터 역시 TRUE는 1, FALSE 는 0 으로 저장이 된다. 물론 저장 할때는 TRUE, FALSE 로 저장이 가능하다. 하지만 불러올때는 1, 0 으로 나와서 헤매는 경우가 있는데 이럴땐 아래와 같이 사용하면 된다. IF(칼럼명 , 'true', 'false') as 칼럼명 예를 들면SELECT IF(agree, 'true', 'false') as agree 이렇게 사용하면 된다.
-
HTML 프레젠테이션 프레임워크Dev/Html 2013. 4. 8. 14:34
Html, CSS3, Javascript 만으로 구현한 프리젠테이션 프레임웍 정리Flowtime.jshttps://github.com/marcolago/flowtime.jsreveal.jshttps://github.com/hakimel/reveal.jsmpress.jshttps://github.com/bartaz/impress.jsdeck.jshttps://github.com/imakewebthings/deck.jsPresenteer.jshttps://github.com/willemmulder/Presenteer.jsslideshow.htmlhttps://github.com/dmfrancisco/slideshow.htmlPower Polygonhttps://github.com/braziljs/power-..