jQWidgets Forums
Forum Replies Created
-
Author
-
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.I found my mistake. The issue is solved.
Thanks,
Elena.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.October 7, 2015 at 12:39 pm in reply to: tree grid filtering and a navigation tree grid filtering and a navigation #76531Oke) 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…
October 7, 2015 at 11:15 am in reply to: tree grid filtering and a navigation tree grid filtering and a navigation #76525Hello 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?
October 7, 2015 at 7:18 am in reply to: tree grid filtering and a navigation tree grid filtering and a navigation #76499there 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?
October 7, 2015 at 6:57 am in reply to: tree grid filtering and a navigation tree grid filtering and a navigation #76497Hi 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,
lenayktOctober 6, 2015 at 2:35 pm in reply to: tree grid filtering and a navigation tree grid filtering and a navigation #76476Hi 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?
October 6, 2015 at 12:41 pm in reply to: tree grid filtering and a navigation tree grid filtering and a navigation #76465And one more question. why “getView” doesn’t work if parent is collapsed?
-
AuthorPosts