1. Tag Results
mode (5)
1 - 5 of 5
How to set custom format in edit state of Grid
By default, Grid shows the standard formats (ex: ‘yMd’) in edit state of a column. Incase of custom formats, it will show only in display. To show the custom formats in edit state, you can use the ‘edit.params’ property of Grid columns. This is demonstrated in the below sample code in which the custom format is provided to the DateTimePicker editor component, by setting the ‘format’ property through ‘edit.params’.   CSHTML @{     var editParams = new { @params = new { format = "hh:mm a" } }; }   <ejs-grid id="Grid" dataSource="@ViewBag.data" allowPaging="true" toolbar="@( new List<object>() {"Add","Edit","Delete","Update","Cancel"})">     <e-grid-editsettings allowAdding="true" allowDeleting="true" allowEditing="true"></e-grid-editsettings>     <e-grid-columns>         <e-grid-column field="OrderID" headerText="Order ID" isPrimaryKey="true" textAlign="Right" width="120"></e-grid-column>         <e-grid-column field="CustomerID" headerText="Customer ID" width="175" ></e-grid-column>         <e-grid-column field="OrderDate" allowEditing="false" headerText="Order Date" editType="datetimepickeredit" edit="editParams" Format="hh:mm a" width="130"></e-grid-column>         <e-grid-column field="EmployeeID" headerText="Employee ID" textAlign="Right" width="120"></e-grid-column>     </e-grid-columns> </ejs-grid>   OutPut   Demo: https://www.syncfusion.com/downloads/support/directtrac/general/ze/customFormat-1225644421
How to display PDF document in FlipView/Single Page view mode using SfPdfViewerControl in WinRT Platform?
How to display PDF document in FlipView/Single Page view mode using SfPdfViewerControl in WinRT Platform? We do not support Single Page View mode currently in SfPdfViewerControl. However, as a workaround, we can achieve this by using FlipView in the WinRT platform by extracting the images from the PDF document and adding the same to the FlipView control. Code Snippet: pdfViewer.Visibility = Windows.UI.Xaml.Visibility.Collapsed; onePageFlipView.Visibility = Windows.UI.Xaml.Visibility.Visible; pdfViewer.Height = 0; onePageFlipView.Items.Clear(); Image[] pages = pdfViewer.GetPages(0, ldoc.PageCount - 1); for (int i = 0; i < pages.Length; i++) onePageFlipView.Items.Add(pages[i]); Please find the sample attached at the link below:  http://www.syncfusion.com/downloads/support/directtrac/132250/PDFViewerWintRT_20131018973348.zip  Note:Starting with v16.2.0.x, if you reference Syncfusion&reg; assemblies from a trial setup or from the NuGet feed, include a license key in your projects. Refer to the link to learn about generating and registering the Syncfusion&reg; license key in your application to use the components without a trial message. ConclusionI hope you enjoyed learning about How to display PDF document in FlipView/Single Page view mode using SfPdfViewerControl in WinRT Platform.You can refer to our PDF feature tour page to know about its other groundbreaking feature representations. You can also explore our documentation 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 or feedback portal. We are always happy to assist you!
How to setting Document Mode in Document Container Control?
  Document in DocumentContainer can be displayed as TDI (Tabbed Document Interface) and MDI (Multiple Document Interface). Display mode of Document can be changed by “Mode” property of DocumentContainer. The same has been explained in the following code snippet: XAML:  C#: Output: TDI (Tabbed Document Interface)        MDI (Multiple Document Interface)       
How to enable interactive Legend?
To enable the interactive Legend follow the given steps: Step 1: Create a map sample and include the necessary script files. Step 2: The Legends can be made interactive with an arrow mark indicating the exact range color in the Legend when the mouse hovers over the corresponding shapes. In order to render interactive Legends, set the Legend mode to interactive in the legendSettings. JS legendSettings: {                        mode : “interactive”                                 }   JS <script type="text/javascript">             jQuery(function ($) {             $("#maps").ejMap({                               layers: [                      . . .            legendSettings: {                  showLegend :true,                               mode : “interactive”                                                . . .                                      }                         ]                       });                   });   The following screenshot shows the interactive Legend:     Sample Links: http://help.syncfusion.com/ug/js/default.htm#!documents/mapelements.htm http://js.syncfusion.com/demos/web/#!/azure/map/heatmap
How to render the Legend in JavaScript Maps ?
To render the Legend, follow the given steps. Step 1 Create a map sample and include the necessary script files. Step 2 A Legend is a key used on a JavaScript map. It contains symbols with descriptions. It provides valuable information for interpreting what the map is displaying. For enabling the Legend visibility, set api showLegend to true in the legendSettings. legendSettings: {    showLegend: true, },   HTML <script type="text/javascript">             jQuery(function ($) {                       $("#maps").ejMap({                    layers: [                         {           .    .    .             legendSettings: {                             showLegend:true,                               mode: "interactive",                                                               .    .    .                                       }                            }                            ]  }); });         </script> The following screenshot represents the Legend visibility. Sample Links https://help.syncfusion.com/js/maps/getting-started https://ej2.syncfusion.com/javascript/demos/#/bootstrap5/maps/default.htmlConclusionI hope you enjoyed learning about how to render the Legend.You can refer to our  JavaScript Map feature tour page to know about its other groundbreaking feature representations. You can also explore our JavaScript Map documentation 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!
No articles found
No articles found
1 of 1 pages (5 items)