Telerik Forums
Kendo UI for jQuery Forum
2 answers
657 views

Hello,

I would like to have the opinion of Kendo experts on the following subject.
I would like to create a kind of form that would check if certain conditions are met in order to continue an operation. The conditions are defined in a table as a string text (for example, "Filled the registration form", "Paid the registration fee" and so on ...). It's also possible to have several form one after the other in the case where several operations are in progress simultaneously. In addition, there are two Save and Cancel buttons in each form. I made a small sketch in order to picture this (attached file Dynamic Form.png)

 

My Controller returns a list of objects like this:

  1. Definition Label #1
    • 1st Checking
    • 2nd Checking
    • 3rd Checking
  2. Definition Label #2 (1st checking) ...

My question would be: There is a Kendo component that could help me achieve this optimally?
I managed to fill the form etc ... with jQuery, but when I had to realize the code behind for the buttons, I thought there might be a simpler way. Because I need two things mainly:
When clicking on the Save button, find out the value for each of the checks for each of the forms. And navigating through the DOM to get this info is somewhat tedious ...
When clicking Cancel, reset the displayed values to those received by the Controller.
Having already used Keno for Grid / ComboBox, I would like to know if there was anything that could help me in this case. (Kendo Template and a Model for example?)

Moshe Hayun
Top achievements
Rank 1
 answered on 16 Oct 2017
1 answer
143 views

Hi!

 

I'm trying to use showIndexes option:

https://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-sortable.showIndexes

 

But it's not works. Maybe I have no requirement version of Kendo. Could you help me to tell in which version this feature was added?

Stefan
Telerik team
 answered on 16 Oct 2017
1 answer
2.0K+ views

Issue:  Date Filtering not working

Background:  We are sending up dates as strings.  Yes, I could change this, but this would impact many things and cause a lot of other things to have to change.

The raw data format is yyyy-mm-dd.

Customers are requesting we change the display of the dates to MM/dd/yyyy.

This is working fine by setting the template to this:

"#= kendo.toString(kendo.parseDate(" + thedefs[ischema].index + ", 'yyyy-MM-dd'), 'MM/dd/yyyy') #";

What does not work is the filtering.  Because the datatype is string, we get the string based operators.

I switched the datatype on the field (only in the grid, not the data) to "date" and that partly works.  It does show the date operators and we get a date picker.  But, when you filter any date, nothing is returned.

I dont really want to write a custom date filter.  Are there any other options?

If not, can you point me in the right direction to a custom filter override?

Thanks!

Bryan

 

Stefan
Telerik team
 answered on 13 Oct 2017
1 answer
206 views

Hi, my KenDo UI version is 2017.3.913, my chrome version is 61.0.3163.100

I found that my custom validation rule only fire once when it get error,

here is DOJO code: http://dojo.telerik.com/OGIlA/3

you can re-enter this situation by these step:

1.open dojo link and enter full screen mode

2.open chrome dev tool and set break point on line 72 (

myrule:function(input){...

)

3.click edit button and change unit price to 7777, then it will enter break point.

4.continue, and change value to 7778, then it will enter break point again.

5.continue and change value to 7777, then you can see it will not enter break point ,no fire validate function.

I don't know where I do wrong, or something I forget to setting, please help , thanks.

Dimitar
Telerik team
 answered on 13 Oct 2017
1 answer
394 views

Hi!

There is an issue with the numericTextBox title, that is showing on mouse hover. Here is the dojo.

I'll try to explain this dojo more detailed. In case of using ng-model, title of kendo-numeric-text-box still contains angular template: {{ hello }}. But in case of using k-ng-model title text is shown correctly as long as the model value isn't changing. After value was changed, title began to show angular template. 

I also added a kendo-drop-down-list element as an example that everything works fine with it. Also I would like to note, that everything was fine with kendo version 2016.2.607. Looks like these changes made title behavior not as expected.

Stefan
Telerik team
 answered on 13 Oct 2017
2 answers
212 views
Do you have, or are you able to produce JSON schema (in the sense of http://json-schema.org/) for the objects that provide configuration to the KendoUI controls?
Neli
Telerik team
 answered on 12 Oct 2017
1 answer
343 views

I can't work out how to set the width of the autocomplete input. Using PopupSettings I can set the width of the pop out box, is there an equivalent way of setting the width of the component itself ? Thanks.

 

<label class="k-form-field">
<span>Select Product</span>
<kendo-autocomplete
[popupSettings]="{width: 500}"
[data]="listItems"
[valueField]="'AltProductDescription'"
[filterable]="true"
[placeholder]="'e.g. Seed'"
(valueChange)="valueChange($event)"
(filterChange)="filterChange($event)"
>
</kendo-autocomplete>

Svet
Telerik team
 answered on 12 Oct 2017
3 answers
411 views

Issue: Disabling day(s) within the popup calendar in the scheduler

Question: How do you disable days (trying to disable Sundays) in the popup calendar in the Scheduler control. Have been able to disable days in a Calendar control. Cannot not find any sample on show how to implement this functionality in a Scheduler. 

Thanks

Ken

Ken
Top achievements
Rank 1
 answered on 12 Oct 2017
3 answers
1.4K+ views

I have a Grid grouped by a column and I would like to remove the column name and just keep the value in the group header.

for example:  I am grouping by a field called ProductType..  when my grid loads, the group header displays like this  ProductType: Cars

But I want the group header to just display Cars and not the field name also.

Thanks in Advance

Preslav
Telerik team
 answered on 12 Oct 2017
3 answers
175 views
Hello,

I would like to implement a data cursor for a DataViz Chart. That is: Something like a crosshair. But the data cursor should always be visible, and the user should be able to fix the position of the cursor by clicking with the mouse. So far I didn't find a solution for this problem in the documentation.

Any help would be appreciated.
Stefan
Telerik team
 answered on 12 Oct 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?