jQWidgets Forums

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Row events Row events #77808

    lenaykt
    Participant

    In this fiddle I have some fast example. http://jsfiddle.net/ryxbE/30/ so If I press on ‘Trigger Next Row’ function td onclick is triggered but row is not selected. But I also want to select row without using ‘selectRow’ the same way I click with mouse.

    Thanks,
    Elena.

    in reply to: Column index tree grid Column index tree grid #77077

    lenaykt
    Participant

    I found my mistake. The issue is solved.

    Thanks,
    Elena.

    in reply to: Column index tree grid Column index tree grid #77063

    lenaykt
    Participant

    Hi ivailo, thanks.

    Yes, you can get it with the originalEvent. My question is how can I get already selected row column’s value?

    $('#nextCellButton').on('click',function(){
      var selectedItem = $('treeGrid').jqxTreeGrid('getSelection');
      var selectedRow =  $('treeGrid').jqxTreeGrid('getRow',selectedItem[0].ID);
      var selectedCell = ??
    });
    

    Regards,
    lenaykt.


    lenaykt
    Participant

    Oke) thanks, Vladimir. I’ve disabled paging. At the moment, it looks good. Though, again one question arises… How can I find an element in the selected row? For example, traverse ‘a’ tags in the row. I saw that in jqxTree you can use a “find” method: $(elem.element).find(‘a’).trigger(‘click’); I want to have a button which will simulate movement from one cell to another in the selected row and trigger an ‘a’ tag click event. As I know you can’t select cell in jqxTreeGrid…


    lenaykt
    Participant

    Hello Vladimir,

    Oh, its oke. I am thinking to disable paging and switch to one page mode then. But I have a big grid ~3-5K. I read data from json file. And number of columns is always different. It can grow may be until 100-150. If I apply a Virtual mode on demand and sort of an accordion behavior will it be an appropriate solution?


    lenaykt
    Participant

    there is no method to get the current page

    I think it is not possible to implement what I want… you have also a multiple selection… If I select more that one element getSelection chooses the first one. Actually, I want something like “go to page with selected element”. Is it possible to get selected element position on the page or page number of selected elements?


    lenaykt
    Participant

    Hi Vladimir, thanks.

    If the “getView” behavior is correct than I search by checkboxes states not taking into account filtering.

    One more question about filtering… I use also ‘simple’ filtering mode. I want to search in all columns except first which has collapsing/expanding elements. Is it possible? Because, now it returns values found in all columns. And if behavior of getView is correct how can I check that filtering in the ‘Search’ field is applied and get a search value? Otherwise my navigation will get lost again.

    Regards,
    lenaykt


    lenaykt
    Participant

    Hi Vladimir, thanks for your fast reply. I ll play with the pageChanged event. Hope it works.

    About getView method. I use it in the exact same way as you showed. But I have 3 checkboxes(red,blue,green). I use them to apply filters. If I check or uncheck one of the checkboxes event fires and my grid is filtered. For example, If red button is checked and 2 another not then I filter my grid by rows at least with one red cell. So, when I want to jump from one item to another with filters applied with getview I still I get an unfiltered list of all nested items if parent is collapsed. Referring to fiddle example: http://jsfiddle.net/ryxbE/22/ If you apply filter and then try to getView if parent is collapsed you still see unfiltered list. Is there some solution to this?


    lenaykt
    Participant

    And one more question. why “getView” doesn’t work if parent is collapsed?

Viewing 9 posts - 1 through 9 (of 9 total)