jQWidgets Forums
jQuery UI Widgets › Forums › General Discussions › Problem in jqsPivotGrid
This topic contains 7 replies, has 4 voices, and was last updated by axe020 7 years, 6 months ago.
-
AuthorProblem in jqsPivotGrid Posts
-
Hello Sir
I am using Pivot Grid in my project. I have data in which ‘name’ and text property in datafields are different.
but in Pivot Table Designer when I drag field to Values Section then text of the field is showing the value of name property instead of text property.
For example it is showing:– “Count of firstname” instead of “Count of First Name”
var datafields= [
{ name: ‘firstname’, type: ‘string’ },
{ name: ‘lastname’, type: ‘string’ },
{ name: ‘productname’, type: ‘string’ },
{ name: ‘quantity’, type: ‘number’ },
{ name: ‘price’, type: ‘number’ },
{ name: ‘total’, type: ‘number’ }
]
var fields= [ { dataField: ‘firstname’, text: ‘First Name’ },
{ dataField: ‘lastname’, text: ‘Last Name’ },
{ dataField: ‘productname’, text: ‘Product Name’ },
{ dataField: ‘quantity’, text: ‘Quantity’ },
{ dataField: ‘price’, text: ‘Price’ },
{ dataField: ‘total’, text: ‘Total’ }
]
Kindly provide the solution to me.This is urgent.
Regards
Manu VashishthaHello Manu Vashishtha,
Please, take a look at this example.
Let me know if you need anything else.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comHello Sir
Thank you for your response.
I have checked the example given by you. This is working fine for grid. But I also need this functionality for pivot designer value area.
And also it is not possible for me to change the text on button click. I need any event like dragcomplete (lets assume when draging of a field is complete). So that I can change the text of particular field for pivot grid and designer both.Regards
Manu VashishthaHello Sir
I also have one another requirement. I need data export functionality for pivot grid like jqxgrid.
Currently I am in need of ‘Export To Excel’ only.Regards
Manu VashishthaHello Manu Vashishtha,
There is no such functionality. Please, take a look at this section there are described possible features.
Also, I would like to suggest you look at this tutorial:
https://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxpivotgrid/jquery-pivotgrid-introduction.htm?search=pivotBest Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comHello Sir,
I am Using Pivot grid designer example and want to reinitialise the plugin once again on button how can i do it.
I tried using refresh method but its not working for me.Hi axe020,
If you mean to create again the Pivot Grid, then you should do the following:
1. Remove the Pivot Grid’s DIV tag.
2. Append a new DIV tag.
3. Select the DIV tag and Run the initialization code.Best Regards,
Peter StoevjQWidgets Team
https://www.jqwidgets.com/Thank you for your response.
It worked for me. -
AuthorPosts
You must be logged in to reply to this topic.