1. Tag Results
pivot (4)
1 - 4 of 4
How to disable alert dialog box in pivot table when changing the report
This article explains how to disable the alert dialog box in the Angular pivot table Disable alert dialog box There may be instances where you have to suppress the alert dialog that pops up when you switch reports or create a new report after modifying the current report. To achieve this, use the dataBound event in your code. The dataBound event triggered when the pivot table is rendered. Here is a code snippet that guides how you can turn off the alert dialog box: [app.component.html] <div class="control-section" id="pivot-table-section"> <div> <ejs-pivotview #pivotview id="PivotView" (databound)="dataBound($event)"> </ejs-pivotview> </div> </div> [app.component.ts] @ViewChild('pivotview') public pivotObj: PivotView; dataBound() { this.pivotObj.isModified = false; this.pivotObj.toolbarModule.action = ''; } By using the above dataBound event and setting the isModified property to false, the alert dialog box is effectively turned off. Additionally, the toolbarModule.action property should be set to an empty string to clear any actions that have been set in the toolbar. For a practical demonstration, refer to the sample of stackblitz. Conclusion: I hope you enjoyed learning how to disable the alert dialog box in the Pivot Table when changing the report. You can refer to our Angular Pivot Table feature tour feature tour page to learn about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our Angular Pivot Table example example to understand how to create and manipulate data. For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls. If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, support portal, or feedback portal. We are always happy to assist you!
How to push live data into a DataSource bound to the WPF PivotGrid?
Pushing live data updates into a DataSource of the WPF PivotGrid can be done by using the updating feature in the PivotGrid. Updating the calculation values based on the throttle rate that has been chosen, the PivotGrid is updated with new values every few milliseconds by using the timer function. This feature also helps to add new records in the PivotGrid. This can be achieved by setting the property, EnableUpdating to true. Refer to the following code example. XAML <Window x:Class="WpfApplication1.Window1"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     Title="Window1" Height="323" Width="500"     xmlns:syncfusion="http://schemas.syncfusion.com/wpf"     xmlns:local="clr-namespace:WpfApplication1">     <!--Specifies the DataSource in Window Resources-->     <Window.Resources>         <ResourceDictionary>             <ObjectDataProvider x:Key="data" ObjectType="{x:Type local:ProductSales}" MethodName="GetSalesData"/>         </ResourceDictionary>     </Window.Resources>     <Grid>         <syncfusion:PivotGridControl HorizontalAlignment="Left" Name="PivotGridControl1" VerticalAlignment="Top"   EnableValueEditing =”True" ItemSource="{Binding Source={StaticResource data}}" >         </syncfusion:PivotGridControl>      </Grid> </Window>   C# public MainWindow() {     InitializeComponent();     PivotGridControl pivotGrid1 = new PivotGridControl();     this.grid1.Children.Add(PivotGrid1);    this.pivotGrid1.EnableValueEditing = true; }   VB Public Sub MainWindow()     InitializeComponent()     Dim pivotGrid1 As New PivotGridControl()     Me.grid1.Children.Add(PivotGrid1)     Me.pivotGrid1. EnableValueEditing = True End SubConclusionI hope you enjoyed learning about how to push live data into a DataSource bound to the WPF PivotGrid.You can refer to our WPF PivotGrid feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our WPF PivotGrid example to understand how to create and manipulate data.For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!
How to push live data into a DataSource bound to the PivotGrid in Silverlight?
Pushing live data updates into a DataSource of the PivotGrid can be done by using the updating feature in the PivotGrid. Updating the calculation values based on the throttle rate that has been chosen, the PivotGrid is updated with new values every few milliseconds by using the timer function. This feature also helps to add new records in the PivotGrid. This can be achieved by setting the property, EnableUpdating to true. Refer to the following code example. XAML <Window x:Class="WpfApplication1.Window1"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     Title="Window1" Height="323" Width="500"     xmlns:syncfusion="http://schemas.syncfusion.com/wpf"     xmlns:local="clr-namespace:WpfApplication1">     <!--Specifies the DataSource in Window Resources-->     <Window.Resources>         <ResourceDictionary>             <ObjectDataProvider x:Key="data" ObjectType="{x:Type local:ProductSales}" MethodName="GetSalesData"/>         </ResourceDictionary>     </Window.Resources>     <Grid>         <syncfusion:PivotGridControl HorizontalAlignment="Left" Name="PivotGridControl1" VerticalAlignment="Top"   EnableValueEditing =”True" ItemSource="{Binding Source={StaticResource data}}" >         </syncfusion:PivotGridControl>      </Grid> </Window>   C# public MainWindow() {     InitializeComponent();     PivotGridControl pivotGrid1 = new PivotGridControl();     this.grid1.Children.Add(PivotGrid1);    this.pivotGrid1.EnableValueEditing = true; }   VB Public Sub MainWindow()     InitializeComponent()     Dim pivotGrid1 As New PivotGridControl()     Me.grid1.Children.Add(PivotGrid1)     Me.pivotGrid1. EnableValueEditing = True End Sub  
How to trigger an event when a value is selected and enter is pressed?
By using the CurrentCellEditingComplete, You can trigger an event when a value is selected and enter is pressed.This event is invoked every time when you click on the cell and press enter or when you move from one cell to another without editing the PivotGrid. C#   VB
No articles found
No articles found
1 of 1 pages (4 items)