jQWidgets Forums
Forum Replies Created
-
Author
-
September 14, 2016 at 2:11 pm in reply to: attempt to remove a row jqxgrid attempt to remove a row jqxgrid #87329
In addition to above question, I was wondering if there is a way to use the actual value of the column instead of row id ?
September 14, 2016 at 1:51 pm in reply to: attempt to remove a row jqxgrid attempt to remove a row jqxgrid #87326Hi Hristo,Thanks. Why is it deleting row with name “D” as well along with “B” in your JSFiddle ?
Also, why do you have the following defined in the end?
$('#jqxgrid').jqxGrid('deleterow', 1); $('#jqxgrid').jqxGrid('deleterow', 2); $('#jqxgrid').jqxGrid('deleterow', 3);
Thanks
Can you help me how should I go about if I have to delete say for example a row with name “B” from showing up when the page loads? Here is the JSFiddle. Thanks
September 12, 2016 at 5:17 am in reply to: Removing timestamp from list Removing timestamp from list #87261September 6, 2016 at 2:24 pm in reply to: highlight a text in the jQXPanel from jQXgrid click highlight a text in the jQXPanel from jQXgrid click #87127Another problem I am facing in my application is the console log for the following line :
let element = $('#panelContentjqxPanel:contains(' + value + ')');
is throwing undefined for me.September 2, 2016 at 6:28 pm in reply to: highlight a text in the jQXPanel from jQXgrid click highlight a text in the jQXPanel from jQXgrid click #87087Thanks Ivo. I have a question, from where did you get
#panelContentjqxPane
for the linelet element = $('#panelContentjqxPanel:contains(' + value + ')');
? I couldn’t find it anywhere. Also, I changed it tojQxPanel
and it worked without complaining and hence I am confused.August 31, 2016 at 8:21 pm in reply to: Initializing Panel second time after updated contents? Initializing Panel second time after updated contents? #87033Some one please reply. Thanks
August 30, 2016 at 2:30 pm in reply to: Getting value from linkrenderer Getting value from linkrenderer #86984I am using linkrenderer as mentioned in the following post by Dimitar:(Reply #45857)
http://www.jqwidgets.com/community/topic/customising-link-renderer-in-data-grid/
My linkrenderer is as follows:
var linkrenderer = function(row, column, value){ if(value.indexOf('#') != -1){ value = value.substring(0,value.indexOf('#')); } console.log("Inside Linkrenderer "+value ); var href = $('#columnPanel').jqxGrid('getcellvalue',row,"MyColumnName(s)"); console.log("href: "+href); // Outputs Undefined return "<a href='"+ value + "''>" +value + "</a>"; }
Questions:
1) I couldn’t find any documentation online which has format of this line:
`var href = $(‘#columnPanel’).jqxGrid(‘getcellvalue’,row,”MyColumnName(s)”);
`
I mean in the above line, do I need to specifycell
instead ofrow
? Is it mandatory to mentionMyColumnName(s)
?2) I am getting the value of the column in the form of link when I click it. For example , it takes me to the URL
http://localhost:8080/mywebsite/A
. Is it
necessary to usecellclick
instead ofgetcellvalue
? I mean should I change it tovar href = $('#columnPanel').jqxGrid('cellclick',row,"MyColumnName(s)");
?3) Instead of linkrenderer taking me to a link and opening a new tab in the browser, I want to stay on the same page.
I am basically looking to grab the valueA
upon the cellclick so that I can pass it whereever I want to. Please not that I would still like to show the
cell values as hyperlinks. How can I modify linkrenderer in this case?Thanks
August 29, 2016 at 4:30 am in reply to: Content partially shown, no scrollbar shown Content partially shown, no scrollbar shown #86942Thanks. I am actually using 3 jqxgrid and 1 jqxpanel in one page. So, when a user clicks on a particular grid row of one of the grid, I am showing jqxPanel and jqxgrid with one column and multiple rows simultaneously.
The scrollbar shows up when I disable the other jqxgrid.
And the scrollbar doesn’t shows up and the content gets locked when I show jqxPanel and jqxGrid simultaneously. By any chance you know what could be the reason behind scrollbar showing up if I have only jqxPanel attached with an onclick event and it doesn’t shows up when I have both jqxPanel and jqxgrid attached with the onclick event.
Thanks.I am wondering how would a user be able to get rid of the panel or grid to make use of the destroy method as there is no close icon? Also, once it’s destroyed, would it be possible to load it again or it would be gone forever?
August 25, 2016 at 9:13 pm in reply to: Content partially shown, no scrollbar shown Content partially shown, no scrollbar shown #86848More Information:
I have following libraries already included in my code and still scroll bar isn’t showing:
<script type="text/javascript" src="scripts/jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxpanel.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxbuttons.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxscrollbar.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxmenu.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxlistbox.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxdropdownlist.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxgrid.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxgrid.selection.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxgrid.columnsresize.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxgrid.filter.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxgrid.sort.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxgrid.pager.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxgrid.grouping.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxcheckbox.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxcombobox.js"></script> <script type="text/javascript" src="scripts/jqwidgets/jqxgrid.edit.js"></script>
August 24, 2016 at 7:35 pm in reply to: Passing JSON data to jqxPanel Passing JSON data to jqxPanel #86823Thanks Hristo for the example. That helped me in getting the content into the panel.One problem I am facing is related to the scrollbar. I have 516 words document that is supposed to go inside the Panel and I am using the following parameters to define the boundaries of the panel:
$("#myPanel").jqxPanel({ width: '750',height: '500'});
But the document only shows 102 words and that’s it. It’s locked from the bottom, i.e., no scrollbar to see the rest of the document.I tried adding
scrollBarSize:20
parameter but that didn’t change anything. Could you tell me why is it happening?August 23, 2016 at 8:36 pm in reply to: trying to consolidate the date part trying to consolidate the date part #86788Hello,
Could you tell me if it’s possible to go back to the previous state after clicking on consolidate button without refreshing the page?
August 23, 2016 at 5:21 pm in reply to: Passing JSON data to jqxPanel Passing JSON data to jqxPanel #86787A more detailed example will be helpful. I believe I am already till the point where I have used dataAdapter as shown below:
`var source =
{
localdata: mydata_,
datatype : “array”
};
var dataAdapter = new $.jqx.dataAdapter(source, {
loadComplete: function (data) { },
loadError: function (xhr, status, error) {
} `August 23, 2016 at 1:53 pm in reply to: Passing JSON data to jqxPanel Passing JSON data to jqxPanel #86786Thanks for your reply. Do you have any example which shows jQPanel and populating data in the same manner I mentioned?
-
AuthorPosts