Search the Community
Showing results for tags 'clientevent'.
-
Hello everyone, i'm in trouble with personalization of client graphic issue of uniCalendarPanel. After some studing of js, extj and js-client-event, i have reached the goal of assign some new class to day cell of the calendar on the event datachange of the calendarpanel object. So i can change month in monthview and the event DateChange make the right work. My problem occur after login and after coming back to the calendar pannel after validation of an other form. In these two cases i need to fireup the event manually. I can't figure how to implement this beaviour. I think the correct js code is <my unicalendarpanel object identifyer>.fireEvent('DateChange', myStartDate, myStartWiewDate, myEndWiewDate); i can use it in a UniSession.addJS or in client-event to run the command, but can't find the correct moment to do that. During the login the mainform of the app is just redered and the code in DateChange event is just runned. After login when the mainform and unicalendarpanel object are shown at the client screen, the graphic is re-redered, but no event is fired (at list i beleave that or can't find that). thanks a lot, and sorry for my bad english. Davide
- 10 replies
-
- unicalendarpanel
- extjs
-
(and 1 more)
Tagged with:
-
Доброе время суток! Хочу реализовать равнение панельки по центру формы. Применил следующие свойства: 1 у ServerModule 2 у формы fmLogin Прописал скрипты у формы fmLogin Все работает и панелька встает по центру, но когда начинаем тянуть браузер то появляется скролбар и не дает форме ресайзиться, собственно из за этого панелька по мере изменения окна браузера не меняет и расположение. Могли бы что нить подсказать, как быть в этом случае? ИСХОДНИК testClientResize.zip
- 6 replies
-
- clientevent
- resize
-
(and 2 more)
Tagged with:
-
Hi, I am difficult to find the related topic for the below 2 questions. Can anyone help? 1) How can I pass ClientEvent's value to form's variable? 2) Is there a way to pass form's value to ClientEvent without using OnAjaxEvent? Thank You.
-
Hi people! Is there a way to assing an "id" or a "name" property to a component to be used in the conversion to html code? I want to set a inputMask (using the ExtEvents >> afterrender) to a Unidbedit that depends on the value of another Unidbedit, for example: UniDbedit1 must have the inputmask "999.999.999-99" if Unidbedit2 equals to "F", otherwise the inputmask should be "99.999.999/9999-99". On afterrender event, I don't know how to access the value of the Unidbedit2. Looking the html code generated, it looks like: <input id="O5D4_id-inputEl" data-ref="inputEl" size="1" name="O5D4"... If I could assing an acquainted name to "id" or "name" propery I wiil be able to define the correct inputmask. Thanks in advance! Marcos