Hi guys
i have successfully binded the pivot grid but the click events of +,- and filter symbols are not working presently i am including this files only
<script src="../Scripts/Libraries/infragistics.core.js" type="text/javascript"></script> <script src="../Scripts/Libraries/infragistics.lob.js" type="text/javascript"></script>
shall any more js file to add thanks in advance
it very urgent
Hello venkatesh,
Please make sure you have included the required CSS files as well:
<link href="{Path to IG resources}/css/themes/infragistics/infragistics.theme.css" rel="stylesheet" /> <link href="{Path to IG resources}/css/structure/infragistics.css" rel="stylesheet" />
If you need to know when a member is being expanded, you can use the tupleMemberExpanding and tupleMemberExpanded events of the pivot grid:
$("#pivotGrid").igPivotGrid({ tupleMemberExpanding: function (evt, ui) { //return the name of axis, which holds the member and the tuple ui.axisName; //return a reference to the data source ui.dataSource; //return the index of the member in the tuple ui.memberIndex; //return the index of the tuple in the axis ui.tupleIndex; //return a reference to the igPivotGrid ui.owner; }, height: "430px", width: "725px" });
Furthermore this sample shows how to expand members programmatically.
Let me know if you need any further assistance for this matter.
Regards,
Philip
i have also inculded those css file still i am unable to get
I am attaching a sample, where I have subscribed for the tupleMemberExpanding and tupleMemberCollapsing events of the pivotGrid and an alert dialog is displayed every time when the expand/collapse (+/-) buttons in the headers are clicked with the mouse. This is working without problems on my end.
Is this what you are trying to achieve? If not, could you modify the attached sample, so that your issue is reproduced?
Thanks,
thanks philip for reply but still i am facing problem now i am able to expand in row level but in column level i am unable to expand when ever i hover on row + symbol i am getting hand symbol but when i hover on columns + symbol i am getting arrow only that means it is not suporting any functionality
i am using ie 8 and i am already using
<script src="../Scripts/Libraries/jquery-1.10.1.min.js" type="text/javascript"></script> <script src="../Scripts/Libraries/jquery-migrate-1.1.1.min.js" type="text/javascript"></script> <script src="../Scripts/Libraries/jquery-ui-1.10.3.custom.js" type="text/javascript"></script>
and even i include the files u suggested me
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.js"></script>
still not coming
waiting for replies
thanks in advance
Please excuse me for my late reply.
I've modified the sample and I think it now works similarly to what you need. What I've done is I've defined a custom aggregator function for the "Weighted Count" measure. Unfortunately there is a limitation involved - although the desired totals are displayed, you will see both your totals as well as the ones generated by the pivot grid. Currently there is no built in way to hide a member. As a workaround I'd suggest you calculate your totals on the client instead of calculating them on the server. You can provide your own logic for this in the aggregator function for the measure. If this is not an option for you, I would advise you submit a product idea for hiding members in the pivot grid. You can do this here.
Let me know if I can be of further assistance to you.
Sorry philip for wasting ur time now i am getting thanks alot for u r help and one more think is
-2005 20
W1 6
W2 4
total 10
sorry my problem is now i donot want to display 20 there because in my json object i will get total
or
i want total value 10 beside 2005 u may say remove that total from json object but in some of the case total will be different from sum of the values that why we kept total thanks in advance