jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 68 total)
  • Author
    Posts

  • Pietervk
    Participant

    Thanks, I got this working now.


    Pietervk
    Participant

    Hi Hristo,
    I did some further testing. The problem is the SelectAllRows that is called when you click on the header..

    Please have a look at the fiddle: https://jsfiddle.net/petitbarzun/ugkH2/180/

    The solution on your link looks different to me, but I will study it further

    Thanks

    Pieter

    in reply to: DropDownlist in last row DropDownlist in last row #99630

    Pietervk
    Participant

    Thx, I have solved it by puting the dropdowns below the grid, and have the CSS resemble the grid.


    Pietervk
    Participant

    Hi Hristo,
    Thanks for the example.
    there is no error message, it just select the second word, it skips all that just match the first word, unlike your example. Perhaps it has to do with the datasource?

    Best regards

    Pieter


    Pietervk
    Participant

    No more answers?

    in reply to: cellclassname on button cellclassname on button #98957

    Pietervk
    Participant

    Any answer to this please?

    in reply to: cellclassname on button cellclassname on button #98846

    Pietervk
    Participant

    Hi Stanislav,
    that is what my question is about. Please read the first post in this topic: what is the the class that I can use to identify the button?

    This is the HTML that is generated, there is no ID on the button, and all the classes are generic and used elsewhere on the grid:

    
    <div role="gridcell" style="left: 648px; z-index: 77; width:150px;" class="jqx-grid-cell jqx-grid-cell-energyblue jqx-item jqx-item-energyblue jqx-grid-cell-selected jqx-grid-cell-selected-energyblue jqx-fill-state-pressed jqx-fill-state-pressed-energyblue">
        <input type="button" style="opacity: 0.99; position: absolute; top: 0%; left: 0%; padding: 0px; margin-top: 2px; margin-left: 2px; height: 24px; width: 146px;" value="Open in Word" hidefocus="true" id="jqxWidget59025e25d087" role="button" class="jqx-rc-all jqx-rc-all-energyblue jqx-button jqx-button-energyblue jqx-widget jqx-widget-energyblue jqx-fill-state-normal jqx-fill-state-normal-energyblue" aria-disabled="false">
        </div>
    </div>
    

    Your product is excellent, but getting support is rather difficult. The pattern is you and your colleagues throw demo’s to every question(and yes the demos are excellent, so I understand why you do this), but if the demo is not applicable, it is hard to get to the next level and get people really looking at your question. I understand this does not sound friendly, but please take it as constructive criticism. It is also not just you, it is the whole company. Browsing through the forum, I am pretty sure I am not the only one feeling this.

    in reply to: cellclassname on button cellclassname on button #98772

    Pietervk
    Participant

    Hi Stanislav,
    in that post you say you cant change the button itself, but you can change it’s css. What class should I change with css, so it changes the button, but not other buttons?

    
    <input type="button" style="opacity: 0.99; position: absolute; top: 0%; left: 0%; padding: 0px; margin-top: 2px; margin-left: 2px; height: 24px; width: 146px;" value="Open in Word" hidefocus="true" id="jqxWidget4a0396b9580d" role="button" class="jqx-rc-all jqx-rc-all-energyblue jqx-button jqx-button-energyblue jqx-widget jqx-widget-energyblue jqx-fill-state-normal jqx-fill-state-normal-energyblue" aria-disabled="false">
    

    Or are you trying to tell me that I should change this to a DataTable?

    Basically I just want to add an icon to the button for consistency with my other buttons

    
    .btn-icon-word {
        background-image: url('images/word18.png');
        background-position: 7px;
        padding: 7px 7px 7px 33px;
    }
    
    in reply to: Formatting currency Formatting currency #98740

    Pietervk
    Participant

    Thanks, that works!


    Pietervk
    Participant

    Hi Hristo,
    this is refreshGridEx, it refreshed the content with updates from the server.

     function refreshGridEx() {
    
                clearTimeout(refreshTimeEx);
                refreshTimeEx = setTimeout(refreshGridEx, 15000);
                if ($('.jqxgridEx').is(":visible") || refreshNow) {
                    //    $('#jqxgridEx').jqxGrid({ source: dataAdapterEx });
                    $('.jqxgridEx').source = dataAdapterEx;
    
                    $('.jqxgridEx').jqxGrid("updatebounddata");
                    console.log("Refreshed Ex");
                } else
                    return;
    
            };

    Your example demo is using server side paging, and user filtering, like mine. My application does the same thing and that works. Where my application goes wrong, is not represented in your demo. It goes wrong when i try to have a button that programmatically sets the filter.

    On a side note: it would be really helpful if it was possible to subscribe to topics, and get an email when something changes.

    in reply to: Formatting currency Formatting currency #98521

    Pietervk
    Participant

    Hi Stanislav, that topic is about the currency symbol, which helps, thanks.
    My question is also about the number formatting: i get 12,456.78 but in Dutch culture setting, it should be 12.456,78

    How can I get that?

    Thanks

    Pieter


    Pietervk
    Participant

    Hristo,
    The grid has data on people. The user can select a row, and then click a button on the page to filter and show all data from this person. That executes the code shown two posts ago. The data is then loaded from the server.

    However, the grid sends the wrong filter information to the server:

    
    "{\"filterGroups\":[],\"filterscount\":0,\"groupscount\":0,\"pagenum\":0,\"pagesize\":10,\"recordstartindex\":0,\"recordendindex\":10}"
    

    rather than, the following which is send if I filter by using the grid buttons and entering the filter data directly:

    
    "\"UserNameoperator\":\"and\",\"filtervalue0\":\"pieter\",\"filtercondition0\":\"CONTAINS\",\"filteroperator0\":0,\"filterdatafield0\":\"UserName\",\"filterGroups\":[{\"field\":\"UserName\",\"filters\":[{\"label\":\"pieter\",\"value\":\"pieter\",\"condition\":\"CONTAINS\",\"operator\":\"and\",\"field\":\"UserName\",\"type\":\"stringfilter\"}]}],\"filterscount\":1,\"groupscount\":0,\"pagenum\":0,\"pagesize\":10,\"recordstartindex\":0,\"recordendindex\":10}"
    

    Pietervk
    Participant

    Hi Hristo,
    I am using virtualmode and have implemented rendergridrows. All of that is working, including the filtering.

    What is not working is the dynamic filtering

         $('.jqxTabsAdmin').jqxTabs('select', 1); 
                        var filtergroup = new $.jqx.filter();
                        var filterEx = filtergroup.createfilter('stringfilter', statusExaminer, 'contains');
                        $('#jqxgridEx').jqxGrid('addfilter', 'UserName', filterEx);
                        $("#jqxgridEx").jqxGrid('applyfilters');
            

    Pietervk
    Participant

    Hi Hristo,
    Maybe I don’t understand, but I want to do server side filtering, as the amount of data can be too large to download efficiently. If I do what you suggest, the filtering is on the client side, or am I wrong?

    Thanks

    Pieter


    Pietervk
    Participant

    Yes, thanks Hristo.
    I suspect it is a timing issue. You are using local data, I am using paged server data, which takes a bit longer to load.

    Pieter

Viewing 15 posts - 16 through 30 (of 68 total)