Posted 5 January 2018, 4:23 am EST
Hi Gopala,
As per your requirements, the FlexSheet would be appropriate control for you since FlexGrid does not support formula same as Excel and row wise total.
Here are the answers for your queries based on FlexSheet and FlexGrid control:
- DropDown may be added for any cell using itemFormatter or formatItem for both FlexSheet and FlexGrid, In FlexGrid, wjFlexGridCellTemplate can be used in Angular framework. Please refer to the following demo sample.
http://demos.wijmo.com/5/Angular2/CellTemplateIntro/CellTemplateIntro/
-
Need to use itemFormatter and formatItem for adding checkbox for both and Cell Template for FlexGrid.
-
For this, we need to add checkbox and handle click event for the same. Please refer to the following fiddle sample, this functionality may be implement for FlexSheet also.
http://jsfiddle.net/mkgupta911/f9vsr3y5/
- The total for each column may be evaluated using aggregation for ColumnFooters for both. But row total is not possible for FlexGrid. However, this may be accomplished using custom function to set value using setCellData on collectionChanged.
Using FlexSheet, this may be implemented using FlexSheet formula support.
-
The cell is editable as excel and can be validate using cellEditEnding event.
-
Both FlexGrid & FlexSheet, support arrow keys, tab and Enter key navigation and Quick edit same as Excel.
-
FlexGrid and FlexSheet support Excel support with following limitation:
Do not export Merged cell
Do not export any custom Editor or HTML control
-
Each column can be styles differently by adding different CSS class for each column.
-
Rows and Column may be added any time by pushing into Rows and Columns collection of Control.
Please refer to the following demo samples for both controls:
http://demos.wijmo.com/5/Angular2/FlexGridIntro/FlexGridIntro/
http://demos.wijmo.com/5/angular2/FlexSheetIntro/FlexSheetIntro/
http://demos.wijmo.com/5/Angular2/ExcelBook/ExcelBook/excellikeSheet.htm
http://demos.wijmo.com/5/Angular2/ExcelImportExport/ExcelImportExport/
Let us know for any further queries.
~Manish