jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 1,336 through 1,350 (of 1,362 total)
  • Author
    Posts

  • ivailo
    Participant

    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 Ivanov

    jQWidgets Team
    http://www.jqwidgets.com


    ivailo
    Participant

    Hi 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 Ivanov

    jQWidgets Team
    http://www.jqwidgets.com


    ivailo
    Participant

    Hi cpuin,

    You can set the displayMember with this code $("#jqxInput").jqxInput({displayMember: 'firstName'});.
    Here is an example.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    in reply to: Cell Format currency Cell Format currency #70495

    ivailo
    Participant

    Hi 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 Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    in reply to: Grid Filtering Performance Grid Filtering Performance #70489

    ivailo
    Participant

    Hi 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 Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    in reply to: current time current time #70479

    ivailo
    Participant

    Hi nostromo,

    You can set formatString: "dd-MM-yyyy H:mm".

    Here is an example.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com


    ivailo
    Participant

    Hi 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 Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    in reply to: Dynamic Data in NavigationBar Dynamic Data in NavigationBar #70417

    ivailo
    Participant

    Hi 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 fiddle

    2. 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 fiddle

    Best Regards,
    Ivailo Ivanov


    ivailo
    Participant

    Hi 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.htm

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com


    ivailo
    Participant

    Hi 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 Ivanov

    jQWidgets Team
    http://www.jqwidgets.com


    ivailo
    Participant

    Hi Tahir Nazir,

    We don’t offer such a method in our current version of the widget.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com


    ivailo
    Participant

    Hi 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 Ivanov

    jQWidgets Team
    http://www.jqwidgets.com


    ivailo
    Participant

    Hi 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.

    http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxvalidator/jquery-validator-api.htm

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com


    ivailo
    Participant

    Hi 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 Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    in reply to: Tree sticks to mouse Tree sticks to mouse #70275

    ivailo
    Participant

    Hi 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 Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 15 posts - 1,336 through 1,350 (of 1,362 total)