Forum Replies Created
-
Author
-
December 29, 2020 at 8:50 am in reply to: About the total number of jqxDataTable About the total number of jqxDataTable #114120
Hi,admin,
Please see this example
How do I set the total number of simulated data to jqxDataTable? Like I did, it doesn’t seem to workDecember 17, 2020 at 6:12 am in reply to: jqxCalendar globalization jqxCalendar globalization #114035Do you mean this bug is still being resolved?
December 15, 2020 at 1:14 am in reply to: jqxCalendar globalization jqxCalendar globalization #113806Is this problem solved now? Where is the new code?
December 12, 2020 at 12:52 am in reply to: Problem with remounting component instance Problem with remounting component instance #113793Hi,Martin
Thank you for your answer, perfect solution!December 10, 2020 at 12:13 am in reply to: Problem with remounting component instance Problem with remounting component instance #113771No, you should do it like this
1、open”My Page”
You can select the ribbon normally when you open this page for the first time2、close “My Page”
3、open “My Page” again
This ribbon will not workDecember 7, 2020 at 3:24 am in reply to: Problem with remounting component instance Problem with remounting component instance #113749Hi,Martin
Thank you for your reply, useful.
But now there is a new problem, do I know how to deal with it. Please see this example1、Click “My Page” in the menu bar to open the page
It can be found that an operation on ribbon was performed in the mounted function2、Select dropdownlist
You will find that you can’t operate this ribbonWhere did I go wrong???
December 2, 2020 at 12:55 am in reply to: The problem with the dropdown tree in jqxToolbar The problem with the dropdown tree in jqxToolbar #113722Hi Martin,
In fact, I found this problem in my application code and then reproduced it for you. The editor I use is ‘vscode’, and when I first enter the page, there is no problem. But when I let the editor recompile with ctrl+s, this drop-down tree problem appeared.You can try it with any editorI am using vue component.
What I want to know is the other methods in jqwidgets. It has the createInstance method to create instances, as well as other widget methods such as jqxButton, jqxGrid,…, etc. I don’t know how to use these widget methods. When I just use the createInstance method to create a widget, I cannot call the widget API. I see this syntaxvar myButton: jqxwidgets.jqxButton = jqwidgets.createInstance(id,'jqxButton',options)
But it will report an error.
what should i do?October 23, 2020 at 8:44 am in reply to: The getRecordsHierarchy method of dataAdapter got null The getRecordsHierarchy method of dataAdapter got null #113426This is my complete code, do you see any problems?
component.append(
< div id = “categoryButton” > <div style = “border: none;”id = ‘pmPcId’ > </div></div > `);
let dropDownButton = jqwidgets.createInstance(“#categoryButton”, “jqxDropDownButton”, {
width: 250,
height: 30,
});
const source = {
datatype: “json”,
dataFields: [{
name: “id”,
map: “pc_id”
},
{
name: “pId”,
map: “pc_pid”
},
{
name: “name”,
map: “pc_name”
},
],
url: “/productCateg/getAllProductCategory.do”,
};
const dataAdapter = new jqx.dataAdapter(source, {
loadServerData(serverdata, source, callback) {
getCategory(source.url, source, serverdata).then((res) = >{
callback({
originaldata: res,
records: res,
});
});
},
loadComplete(records) {},
});
dataAdapter.dataBind();
const records = dataAdapter.getRecordsHierarchy(“id”, “pId”, “items”, [{
name: “name”,
map: “label”,
}]);`October 23, 2020 at 8:40 am in reply to: The getRecordsHierarchy method of dataAdapter got null The getRecordsHierarchy method of dataAdapter got null #113425You use loadServerData to do a demo, I did. Then use dataAdapter.getRecordsHierarchy to get null
October 21, 2020 at 1:38 am in reply to: Question about "jqxTooltip" of vue component Question about "jqxTooltip" of vue component #113399Thanks,Hristo
I solved the problem of the image not showing, just import it use “require”October 21, 2020 at 12:59 am in reply to: Question about "jqxTooltip" of vue component Question about "jqxTooltip" of vue component #113398It works. I understand how jqwidgets creates an instance.
It turns out that you need to import this component before you can find the method for creating the instance in jqwidgets.
Now there is a problem.
When creating the button instance, the image address (“../../../assets/iconfont/custom/add.png”) in the referenced project is not displayed.
When I try to replace the image “https://www.jqwidgets.com/angular/images/add.png” address in your example, the image displays normally.
Why is that?Thanks. This is exactly what I need. It is recommended to update these answers to the document.
You understand what I mean wrong, jqxTabs has such as:
this.$refs.myTabs.addLast(‘Sample title’,’Sample content’);
this.$refs.myTabs.ensureVisible(-1);Such a method. What I want is how to replace this “Sample content” with a vue component, that is, web content
This method only demonstrates the text content, but the actual demand is definitely more than that.
And the answer you gave me has nothing to do with the ‘addLast’ methodOctober 13, 2020 at 9:48 am in reply to: How to dynamically generate nodes in the NavigationBar component How to dynamically generate nodes in the NavigationBar component #113292When will the improvement of “merging nodes into one root” be realized?
-
AuthorPosts