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.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • Problem in jqsPivotGrid #95769

    Manu Vashishtha
    Participant

    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 Vashishtha

    Problem in jqsPivotGrid #95787

    Hristo
    Participant

    Hello Manu Vashishtha,

    Please, take a look at this example.
    Let me know if you need anything else.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Problem in jqsPivotGrid #95798

    Manu Vashishtha
    Participant

    Hello 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 Vashishtha

    Problem in jqsPivotGrid #95799

    Manu Vashishtha
    Participant

    Hello 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 Vashishtha

    Problem in jqsPivotGrid #95939

    Hristo
    Participant

    Hello 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=pivot

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Problem in jqsPivotGrid #96476

    axe020
    Participant

    Hello 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.

    Problem in jqsPivotGrid #96478

    Peter Stoev
    Keymaster

    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 Stoev

    jQWidgets Team
    https://www.jqwidgets.com/

    Problem in jqsPivotGrid #96479

    axe020
    Participant

    Thank you for your response.
    It worked for me.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.