Workaround: Import the document without using the default command OpenFileDialog openFileDialog = new OpenFileDialog(); openFileDialog.Filter = "All Spreadsheet Files (*.txt, *.csv, *.pdf, *.xlsx)|*.txt;*.csv;*.pdf;*.xlsx|Excel Workbook (*.xlsx)|*.xlsx|CSV (Comma delimited) (*.csv)|*.csv|Text (Tab delimited) (*.txt)|*.txt|All Files (*.*)|*.*"; if (openFileDialog.ShowDialog() == true) { string extension = Path.GetExtension(openFileDialog.SafeFileName); using (Stream input = openFileDialog.OpenFile()) { Workbook workbook = WorkbookFormatProvidersManager.Import(extension, input); workbook.Name = openFileDialog.SafeFileName; // in the default implementation this is set after applying the document to RadSpreadsheet and triggers the event this.radSpreadsheet.Workbook = workbook; } }
At the moment when any of the properties are changed, e.g. the frozen panes, the UI is not notified and you have to export and import the file in order for the UI to pick them up.
Workaround: There are several workarounds:
1. Change the active worksheet and return to the old one
2. Export and import the document
3. Change the workbook of the RadSpreadsheet to a new one, and return the old one after that
4. Freeze the active worksheet using the ActiveWorksheetEditor.FreezePanes() method and freeze all others using the ViewState:
RadWorksheetEditor editor = this.radSpreadsheet.ActiveWorksheetEditor;
editor.FreezePanes(new CellIndex(3,3));
foreach (var worksheet in this.radSpreadsheet.Workbook.Worksheets)
{
worksheet.ViewState.FreezePanes(5, 5);
}
Currently it's not possible to disable the fill handle feature. Provide API for disabling it.
Workaround: in the attached project.
If a cell starts with number, contains text, and some values are auto-filled using this cell as base, for example with the Fill handle, the wrong Spreadsheet's autofill generator is used, and ordinal numbers are generated. Instead, the last number (if such) should be increased. For example, if the cell value is "35'5" and the fill handle is used in order the values to next cells to be autofilled, the values are 35th, 36th and etc., instead of the correct ones which are: 35'6, 35'7,...
Add support for preserving and exporting the macros in a macro-enabled workbook.
Add support for pivot tables.
The item is duplicated. Please, find the approved public item at http://feedback.telerik.com/Project/143/Feedback/Details/145412
LocalizableException with text "Format string is not in the correct format.", with inner ArgumentException "Format string is not in the correct format." is thrown. Currently the validation doesn't allow number format string starting with date or time formatting to have more that one section (for negative and zero numbers). Excel allows this type of number formats and if you set format like dd/mm/yyyy;[RED](#.##0); the positive numbers are visualized as dates, but negative numbers are visualized as numbers and their fore color is red. Examples (including the final semicolons): - ss; - dd; - dd/mm/yyyy;; - mmm-yy;mmm-yy;_-* "-"??_-;_-@_-
When number format ends with N commas, the resulting number should be divided to 1000 N times. Instead, such commas are ignored. For example, if the format is #.0,, and the value of the cell is 12,200,000, the number should be displayed as 12.200.0
Implement options in fill handle which enable to choose the type of the auto filling, as in MS Excel. After drag-drop of the fill handle, a small UI control (drop down button like) appears which enables the users to choose whether the cell data should be copied, filled using series or other. Another option (also available in MS Excel), is to drag the fill handle with the right mouse button, which shows window with options.
Improve the editing in RadSpreadsheet with IME (input method editors). Problematic scenarios: - Start typing: When Japanese IME is chosen (for example) and the user starts typing while a cell is selected, the CellEditor should be in EditMode - the same behavior as if you are typing in English. - Committing: When the user is already in EditMode and typing with the Japanese IME, suggestions are listed in a popup. The user can than commit the sentence by selecting some of the suggested words with the mouse (by double-clicking on the suggestion) everything is correct and you continue to be in EditMode. However, if the user navigates to the suggestion and hit Enter (which is the most used case and it is somehow the native one) the editor goes out from EditMode to Inactive.
The MouseWheel event currently is handled in RadWorksheetEditorPresenterBase without a check if the Handled property is set to true.
XLSB is binary format that should theoretically allow fast reading and writing to the file.
Value of a cell is visualized outside of the cell boundaries, or the value is clipped and partially visible, when the cell is updated (from code-behind), while being in an inactive worksheet, and is referenced by another cell from the active sheet. Workaround: get a value of some cell in the active sheet and set it again to the same cell. The issue is reproducible after the official release of Q1 2015.
Currently, only Workbook/Worksheet could be protected. Would be nice to expose a way to protect cells for scenarios in which only particular cells should be locked for modifications.
The sheet selector should hide sheets when their visibility is set to hidden or very hidden. The context menu of the sheet selector should contain Hide and Unhide options that allow to hide a sheet or unhide one of the hidden sheets.
Data validation does not validate values if they are not set using the cell editor. Pasting or auto-fill of invalid values will not produce data validation warning.
Among the other worksheet protection options, the customers can choose options like "Select locked cells" and "Select unlocked cells", enable or disable formatting options, insertion or deletion of different elements. These settings at the moment are not supported
Steps to reproduce: - Open RadSpreadsheet -Put 1 in B2 and B6 -Put 0 in B3, B4, B5 -Add filtering on columns A and B -Filter on column B to have only rows with 1. The rows 3 to 5 will be hidden. -Paste "1234" as cell selection in the Range A2:A6 Note: It is important to enter 1234 in another cell, make a cell selection and then paste it -Remove the filter Expected: "1234" in pasted in cells A2 and A6 only. Actual: "1234" in pasted in cells A2, A3, A4, A5, A6.