Stemon63 Posted October 15, 2020 Share Posted October 15, 2020 Hi, Where I can find Documentation on several JSCall, JsCode, JsAdd, etc... functionality? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 15, 2020 Share Posted October 15, 2020 Hi, You can find some documentation at http://unigui.com/resources/online-documentation/component-reference-manual Quote Link to comment Share on other sites More sharing options...
x11 Posted October 16, 2020 Share Posted October 16, 2020 is this a documentation? 1 Quote Link to comment Share on other sites More sharing options...
Mehmet Emin Posted October 17, 2020 Share Posted October 17, 2020 On 10/15/2020 at 8:01 PM, Stemon63 said: Where I can find Documentation on several JSCall, JsCode, JsAdd, etc... functionality? +1 As the core source code of the library is closed and no deep documentation available, only the advanced members can contribute. This is my main concern of the tool. We all delphi/pascal developers know that pascal source is easier to understand compared to other languages and it is the best documentation since it is always current. Quote Link to comment Share on other sites More sharing options...
Stemon63 Posted October 19, 2020 Author Share Posted October 19, 2020 I don't known when I have to use one or another function. Need a clear documentation Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted October 19, 2020 Share Posted October 19, 2020 We are using this procedures when we create a component and call a javascript function. If you are developing standart apps, you don't need to use this ones. We will create an example demo application about how to use this procedures. Quote Link to comment Share on other sites More sharing options...
x11 Posted October 19, 2020 Share Posted October 19, 2020 1 hour ago, Hayri ASLAN said: If you are developing standart apps, you don't need to use this ones. Unfortunately, this is not so. The ExtJS- components have more properties than the corresponding VCL components. Example: unimSelect1.JSInterface.JSConfig('multiSelect', [True]); unimSelect1.JSInterface.JSConfig('valueField', ['id']); //// for .... unimSelect1.JSInterface.JSCode(#1'.getStore().add({id: "' + dmm.qPrmID.AsString + '", val: "' + dmm.qPrmNAME.Value + '"});'); Quote Link to comment Share on other sites More sharing options...
Stemon63 Posted October 19, 2020 Author Share Posted October 19, 2020 2 hours ago, Hayri ASLAN said: We are using this procedures when we create a component and call a javascript function. If you are developing standart apps, you don't need to use this ones. We will create an example demo application about how to use this procedures. Hi Hayri, We need extensively to inject code for manage custom stores, variables and for "adapt" Unigui to our needs; now not all is covered by "standard" way. So we have to Known where and when inject javascript and what function call must be used. For example, only id and val is not enough for customize lookups... we come from Devexpress. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.