Hi Xycool,
Thank you for using Syncfusion products.
Query #1 “Please tell me how many validation condition for values for example: "Greater"…? or can i set to empty array.”
Please refer the below table for available Data validation conditions based on data types in Spreadsheet.
S.no |
Data Types |
Conditions |
1. |
Number |
“greater than”
“greater or equal to”
“less than”
“less than or equal to”
“equal to”
“not equal to"
“between”
“not between” |
2. |
Decimal |
3. |
Date |
4. |
Time |
5. |
TextLength |
6. |
List |
- |
Note: values - field should be non-empty in XLValidate.applyDVRules(). You can also refer the Data Validation options which is placed under “DATA” tab.
Query #2 “Where can I find a note?”
Currently, we are working on help documentation for ejSpreadsheet and we will publish it in any of our upcoming Essential studio releases. Meanwhile, please refer our online API document for ejSpreadsheet.
Query #3 “How to get to verify the results obtained after the user to edit cell,i want to get yes or no,and change the cell background color”
Before we start provide solution, we would like to know the following details,
1. Using Data validation, we can highlight the validation failed (false) conditions values by using “Format Invalid Data” option under Data Validation in DATA tab or by using XLValidate.highlightInvalidData() method. Could you please conform whether your requirement about changing cell background color as it is same as in our highlight Invalid Data option?
2. While save the edited cell, we can compare the previous cell value and modified cell value in ‘cellSave’ client-side event by using ‘pValue’ and ‘value’ property. Also, we have prepared a sample to demonstrate this in JS Playground. Could you please check the below sample and let us know whether using this event will fulfil your requirement?
Could you please get back to us with the above information so that we can analyze based on that and provide you a better solution? The information provided would be great help for us to proceed further.
Regards,
Silambarasan I