jqxComplexInput requires the following files:
jqx.base.cssjqxcore.jsjqxcomplexinput.js<script src="~/jqwidgets/jqxcomplexinput.js"></script> <jqx-complex-input decimal-notation="exponential" width="250" height="25"></jqx-complex-input>To call a function(method), you need to pass the method name and parameters(if any) in the UI component’s instance.
<script src="~/jqwidgets/jqxcomplexinput.js"></script>
<jqx-complex-input width="250" height="25" instance="getInstance()"></jqx-complex-input>
@section scripts {
<script type="text/javascript">
function getInstance(instance) {
var result = instance["getReal"]();
}
</script>
}
To bind to an event of a UI Component, you can use on-event-type syntax. The example
code below demonstrates how to bind to an event.
<script src="~/jqwidgets/jqxcomplexinput.js"></script>
<jqx-complex-input on-change="eventHandler()"></jqx-complex-input>
@section scripts {
<script type="text/javascript">
function eventHandler(event) {
}
</script>
}