jQWidgets Forums
Forum Replies Created
-
Author
-
May 24, 2016 at 12:54 pm in reply to: Checkbox selection – get field_id Checkbox selection – get field_id #84624
But sadly there is no examples of such implementation, as You suggested.
May 24, 2016 at 12:42 pm in reply to: Checkbox selection – get field_id Checkbox selection – get field_id #84621I think this is connected with JS, even when I select rows on first page and then would jump to second page, the selection only returns the second page rowdata’s
May 24, 2016 at 11:50 am in reply to: Checkbox selection – get field_id Checkbox selection – get field_id #84619Well, frankly I got no idea where to start from, what would be the best solution for this?
May 24, 2016 at 11:33 am in reply to: Passing an ID Value to a custom url Passing an ID Value to a custom url #84615I am using such thing
var linkrenderer = function(row, columnfield, value, defaulthtml, columnproperties){ editrow = row; var dataRecord = $("#jqxgrid").jqxGrid('getrowdata', editrow); var ffrTitle = dataRecord.{{COLUMN}}; // in your case user_id return '<a href="LINK'+ffrTitle+'" /></a>'; } and in columns { text: 'Action', datafield: 'ac', cellsrenderer: linkrenderer},
May 24, 2016 at 11:30 am in reply to: Checkbox selection – get field_id Checkbox selection – get field_id #84614Well the reason behind this I am using server side generated data, so he simply doesn’t sees the data unless hitting the second page… Any ideas how to solve that? If possible
May 24, 2016 at 11:00 am in reply to: Checkbox selection – get field_id Checkbox selection – get field_id #84607$("#button").click(function() { var rows = $("#jqxgrid").jqxGrid('selectedrowindexes'); var selectedRecords = new Array(); for (var m = 0; m < rows.length; m++) { var row = $('#jqxgrid').jqxGrid('getcellvalue', rows[m], "zlec_id"); selectedRecords[selectedRecords.length] = row; } console.log(rows); [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30] console.log(selectedRecords); ["196", "195", "193", "114", "113", "104", "103", "102", "101", "100", "99", "98", "90", "89", "86", "82", "78", "77", "76", "75", "74", "73", "72", "71", "70", null, null, null, null, null, null] } );
After 25 entries it returns null – 25 is the page size of pagination
As you see it doesn’t work, is it possible to override the selectedrowindexes with a column value?May 23, 2016 at 4:39 pm in reply to: Checkbox selection – get field_id Checkbox selection – get field_id #84559I use it, but this console.log(selectedRecords); returns me only id’s from the first page and after that(page 2+) null’s
July 7, 2015 at 7:36 pm in reply to: Additional filter – how to set it up Additional filter – how to set it up #73474^
July 6, 2015 at 12:35 pm in reply to: Additional filter – how to set it up Additional filter – how to set it up #73396Would you be so kind and provide me with the example? I am not able to figure out how to make it
June 29, 2015 at 8:52 am in reply to: Add tabs content with ajax onclick Add tabs content with ajax onclick #73133Can u show me a example? They aren’t generated – this will be like a menu dropdown links
June 26, 2015 at 3:28 pm in reply to: Add tabs content with ajax onclick Add tabs content with ajax onclick #73094Sorry I am not that familar with js – and the part with div.s a stays the same? Could you write me the whole part?
June 26, 2015 at 9:30 am in reply to: Add tabs content with ajax onclick Add tabs content with ajax onclick #73072It need’s fixation. Try open 2 tabs and play around close open and eventually you end up with the ability to open several same tabs which you shoudnt be able to do. This needs some more validation not only the atr opened check – maybe add title attr checking or even target site checking.
June 25, 2015 at 1:46 pm in reply to: Add tabs content with ajax onclick Add tabs content with ajax onclick #73007So as said, it is a inner browser like – it openes pages from links from a attribute ( we have that now ).
Functionality :
– Can open only 1 tab with the same attribute site.php?page=Sales so we will be able to open that link in the tab only once
– Can close the tabs
– Can reopen the tab if its closed
– Support for multiple links so as it was in the div – there would be like 10 links to open new tabs.June 24, 2015 at 7:55 am in reply to: Add tabs content with ajax onclick Add tabs content with ajax onclick #72934I mean you open 2 tabs 1 and 2. Then try close tab 2 – and your able to open another tab 1 so u end with 2x 1 tabs which shoudnt happen
June 24, 2015 at 7:44 am in reply to: Add tabs content with ajax onclick Add tabs content with ajax onclick #72932Well it seems like its not that easy – for now if you go for 2 links in class s – you can open same tab multiple times.U just need to hit different link and go back to the first. Is it possible to remake
if (!opened) { var gettitle = $(this).attr('t'); $(this).attr('opened', true); $('#jqxTabs').jqxTabs('addFirst',gettitle , loadPage(getvalue)); $('#jqxTabs').jqxTabs('ensureVisible', -1); }
to something like is opened tab titile? Or somehow another type to make it more smooth
-
AuthorPosts