This is a migrated thread and some comments may be shown as answers.

Select from a list

3 Answers 36 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Adel Chenni
Top achievements
Rank 1
Adel Chenni asked on 07 Oct 2016, 07:32 PM
In ASP.NET MVC how do you allow selecting cell values from a list, in the UI for ASP.NET MVC R3 2016 it was advertised that it can be done?

3 Answers, 1 is accepted

Sort by
0
Jeffrey
Top achievements
Rank 1
answered on 08 Oct 2016, 02:04 AM

not sure if this is what you mean, but on this page: 

http://docs.telerik.com/kendo-ui/controls/data-management/spreadsheet/how-to/validation-to-column

At the bottom of the editable example, add the line "showButton: true" to the code snippet as follows -

range.validation({
          dataType: "list",
          showButton: true,
          from: "ListValues!A$1:B$1",
          allowNulls: true,
          type: "reject",
          titleTemplate: "Invalid value",
          messageTemplate: "Valid values are 'true' and 'false'."
        });

 

Then if you preview the example and click one of the cells in the true/false column, you will see the dropdown arrow next to it allowing you to select one of the cell items in the range as demonstrated in the example.

0
Adel Chenni
Top achievements
Rank 1
answered on 08 Oct 2016, 09:01 PM

I was expecting ShowButton method, however it is not available

.Validation(validation => validation .DataType("list") .From("ListValues!A1:B1") .AllowNulls(true) .Type("reject") .TitleTemplate("Invalid value") .MessageTemplate("Valid values are 'true' and 'false'."));.Validation(validation => validation .DataType("list") .From("ListValues!A1:B1") .AllowNulls(true) .Type("reject") .TitleTemplate("Invalid value") .MessageTemplate("Valid values are 'true' and 'false'."));

0
T. Tsonev
Telerik team
answered on 11 Oct 2016, 02:47 PM
Hello,

The issue should be fixed in the latest internal builds (see #2230). The fix will be included in the upcoming service pack in the end of October as well.

Apologies for the caused inconvenience.

Regards,
T. Tsonev
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Spreadsheet
Asked by
Adel Chenni
Top achievements
Rank 1
Answers by
Jeffrey
Top achievements
Rank 1
Adel Chenni
Top achievements
Rank 1
T. Tsonev
Telerik team
Share this question
or