jQWidgets Forums
Forum Replies Created
-
Author
-
May 4, 2015 at 6:32 am in reply to: Adding ID and Value to CheckBox Adding ID and Value to CheckBox #70574
Hi Fiham,
This widget don’t have option to Add ID to CheckBoxes.
You can get the checked elements with
var items = $("#jqxListBox").jqxListBox('getCheckedItems');
.
For example see this fiddle.You can check items with
$("#jqxListBox").jqxListBox('checkItem', item );
.
For example see this fiddle.Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comMay 4, 2015 at 5:36 am in reply to: How to disable edit on jqxInput How to disable edit on jqxInput #70563Hi cpuin,
Try to combine your initialisation in one row.
If this don’t help – send a bigger part of your code for analysing.Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comApril 30, 2015 at 10:10 am in reply to: How to disable edit on jqxInput How to disable edit on jqxInput #70497Hi cpuin,
You can set the displayMember with this code
$("#jqxInput").jqxInput({displayMember: 'firstName'});
.
Here is an example.Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comHi tausi1990,
To change the format of the currency you must change the value of
localizationobj.currencysymbol = "€";
.For example you can see this fiddle.
Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comHi AA5MC
Like a workaround you can set a loading image behind the chart and to show that image until is filtering. Just have show the image before to call addfilter or if is detected change event of the filter inputs (then image overlays the chart), and after to detect the filter event (to hide image behind the chart). These events will change only the z-index of the image.
Here you can see similar example. The difference is about triggering with “click” event, but the principle is the same.
Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comHi nostromo,
You can set
formatString: "dd-MM-yyyy H:mm"
.Here is an example.
Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comApril 29, 2015 at 8:53 am in reply to: using jqxgrid inside the jqxwidow using jqxgrid inside the jqxwidow #70423Hi Muthu,
From this part of code is dificult to see the reason about this error.
In code below you call a variable. Must be a function:
initContent: function () { grid }
Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comApril 29, 2015 at 7:53 am in reply to: Dynamic Data in NavigationBar Dynamic Data in NavigationBar #70417Hi vinodn,
You can use Dynamic data to create groups for navigation in NavigationBar. The component is irrelevant to the number of groups and their contents. Just have to build correct sequence of Header/Content elements.
You can see 2 solutions how to add dynamically new elements.
1. You can create the container and then from random data structure to fill all the elements.
The example is in this fiddle2. You can create the container + some element statically created and then to add additional when they are needed. Here you can use built-in function ‘insert’.
The example is in this fiddleBest Regards,
Ivailo IvanovApril 28, 2015 at 1:14 pm in reply to: How to enumerate radiobuttons in Radiogroup ? How to enumerate radiobuttons in Radiogroup ? #70378Hi dima72,
You can try to use our widget jqxDataAdapter. It’s the option about DataBinding right now.
Here is it’s documentation:
http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxdataadapter/jquery-data-adapter.htmBest Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comApril 28, 2015 at 11:58 am in reply to: How to enumerate radiobuttons in Radiogroup ? How to enumerate radiobuttons in Radiogroup ? #70372Hi dima72,
With $.post you can insert an object with multiple key/value pairs. So you can fill that object with the values of all radio groups. You don’t need to send values about not selected buttons. Just create an object contains one value for every radio group. You don’t need to send multiple lines of post requests.
You can see how to do that from the official page:
http://api.jquery.com/jQuery.post/Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comApril 28, 2015 at 10:53 am in reply to: Column Data Overflowing information Column Data Overflowing information #70371Hi Tahir Nazir,
We don’t offer such a method in our current version of the widget.
Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comApril 28, 2015 at 7:07 am in reply to: How to enumerate radiobuttons in Radiogroup ? How to enumerate radiobuttons in Radiogroup ? #70345Hi dima72,
I made a bit different demo to solve your problem.
In this example you can just add your dynamically create radio buttons in array, and use it to detect on checked event.<!DOCTYPE html> <html lang="en"> <head> <title id='Description'></title> <link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css" type="text/css" /> <script type="text/javascript" src="../../scripts/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="../../scripts/demos.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxradiobutton.js"></script> <style> .jqx-group-button-pressed.jqx-success { background-color: #ff0000 !important; color: #aaaaaa !important; background-image: none !important; } </style> </head> <body class='default'> <div id='content'> <script type="text/javascript"> $(document).ready(function () { $("#jqxRadioButton1").jqxRadioButton({ width: 120, height: 25, theme: 'energyblue', groupName: "Group" }); $("#jqxRadioButton2").jqxRadioButton({ width: 120, height: 25, theme: 'energyblue', groupName: "Group" }); $("#jqxRadioButton3").jqxRadioButton({ width: 120, height: 25, theme: 'energyblue', groupName: "Group" }); $("#jqxRadioButton4").jqxRadioButton({ width: 120, height: 25, theme: 'energyblue', groupName: "Group" }); //You must create dynamically array with the actual radio buttons var checkBoxesArray = ["#jqxRadioButton1", "#jqxRadioButton2", "#jqxRadioButton3", "#jqxRadioButton4"]; var checkBoxes = checkBoxesArray.toString(); // Detect the checked button from the group $(document).on('checked', checkBoxes, function () { //Your code here var nowIsChecked = $(this).attr("id"); alert("You checked the button" + nowIsChecked); }); }); </script> <div> <div id='jqxRadioButton1'>Radio 1</div> <div id='jqxRadioButton2'>Radio 2</div> <div id='jqxRadioButton3'>Radio 3</div> <div id='jqxRadioButton4'>Radio 4</div> </div> </div> </body> </html>
Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comApril 27, 2015 at 1:21 pm in reply to: How to disable edit on jqxInput How to disable edit on jqxInput #70310Hi cpuin,
The final thing that i can suggest you is to use jqxValidator about this user input. You can set your custom rules.
Here is the API of this widget.Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comApril 27, 2015 at 7:55 am in reply to: How to disable edit on jqxInput How to disable edit on jqxInput #70282Hi cpuin,
With “strict filtering” i want to generalize some solutions to minimizing the users change to input wrong data. That means filtering of the possible values, that can be chosen for example. The end user do not have the possibility to enter wrong/not correct information in other words.
Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comHi dima72,
You have a problem with your HTML code. This widget have 2 sections. Firs one is used about Header, and second – about the content.
You are included the three in first section(first <div>) and this is wrong. The code must be in second secction.Here is the corect code:
<div id=’jqxwindow2′> <div> </div> <div> <div>Directory Select</div> <div id=”jqxTree”></div> <div><br></div> <div></div> <div style=’float: none;’> <button id=”OK_btn2″>OK</button> <button id=”Cancel_btn2″>Cancel</button> </div> <div><br></div> </div> </div>
Also you can set the draggable property to salse.
$('#jqxwindow2').jqxWindow({ draggable: false });
Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts