Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
765
find the cell, then highlight the row
posted

Hi experts,

I have a fancy requirement, I dont know if that is possible. I need to find a specific cell, then hightlight it, and if this row is collapsed, i need to expand it so that user can see it.

For example, in this page, http://www.igniteui.com/pivot-grid/overview , all row/columns are collapsed when initially loaded. But I'd like to hightlight row 2013/Q1, column "Elisa Longbottom". Only that row and its parent row is expanded and that row is highlighted. How to do that? Thanks in advance!!!

Parents
No Data
Reply
  • 29417
    Offline posted

    Hello srajagopal, 

    Thank you for posting in our forum. 

    If you initially know the path to the column and row names which you want to expand you could loop through the rows and columns and expand them using the expandTupleMember method:

    http://help.infragistics.com/jQuery/2015.2/ui.igPivotGrid#methods:expandTupleMember

    I’ve attached a sample in which on button click the following paths are used:

    var pathToColumn = "All Sellers/Elisa Longbottom";

    var pathToRow = "All Periods/2013/Q1"; 

    The related columns/rows are expanded and the cell is highlighted in yellow. 

    Let me know if you’re aiming to achieve something similar. 

    Best Regards,

    Maya Kirova

    Infragistics, Inc.

    http://es.infragistics.com/support

     

     

     

    pivot.zip
Children