Telerik Forums
KendoReact Forum
6 answers
860 views

 

Based on the Dataset of Objects example in https://www.telerik.com/kendo-react-ui/components/dropdowns/combobox/binding/, I understand that the combobox value will be the selected object. 
For example, if I selected "Football", the value is 
 {"text":"Football","id":2}



On the submit, is there a way for the values collection to have the "id" value and not the selected object?  

Presuming my combobox name is 'sport', I have to use values.sport?.id  

That's not horrible, but the part I don't like is initializing the component with a previously selected value.


Is there a way to pass the value of id as a separate prop and have the component find the matching object in the {data} object.


The way I got it to work to  have a function that takes the id as an input parameter filter for the matching item.  This is passed as the {value} prop.  

 

Thanks

Anthony

Krissy
Telerik team
 answered on 10 Mar 2021
5 answers
245 views

Hi there. It looks like the Kendo Grid generates its own tbody element. I have a situation where I'd like to use multiple tbody elements to define a row. W3C says using multiple tbody tags within a table is the correct way to do this. Here is their example: https://www.w3.org/WAI/tutorials/tables/irregular/#table-with-headers-spanning-multiple-rows-or-columns

Is there a way to accomplish this type of thing?

Stefan
Telerik team
 answered on 10 Mar 2021
1 answer
943 views
So we have a nested array in our json object that I'm trying to update using Kendo React Forms (See Below).

I've mapped the array and have tried to use name={ExampleArray[index].date} yet can't seem to pull the values in or update them. Is it possible? If so how do I go about doing it?

Thanks.

 
{
    "createdOn": "2007-11-15T17:14:01.763",
    "lastUpdatedOn": "2007-11-15T17:14:01.763",
    "color": "Green",
    "ExampleArray": [
      {
        "name": "Date Name",
        "id": 1,
        "date": null
      },
     {
        "name": "Date 2 Name ",
        "id": 2,
        "date": null
      },
  {
        "name": "Date 3 Name",
        "id": 3,
        "date": null
      },

]

}

Stefan
Telerik team
 answered on 09 Mar 2021
11 answers
773 views

When virtualizing the grid, all cells remount during scroll, causing a serious performance issue. How can I stop this from happening?

Here's and example I forked showing the remounting behavior: https://stackblitz.com/edit/react-mu6rlr-ssbgc9?file=app/main.jsx

Stefan
Telerik team
 answered on 09 Mar 2021
13 answers
1.8K+ views

Hi

I have a use case with a straightforward Grid where my users would like to have actions bound to a double click and a popup-menu on right click.

I only found the onClick handler which of course works, but my users would prefer a double click. The reason they name is that they commonly select and copy data from the grid, which interferes with the onClick behaviour.

Is there some description how to achieve double click and right click behaviour on the Grid?

Thanks!

Franklin
Top achievements
Rank 1
 answered on 08 Mar 2021
1 answer
65 views

Hi,

I am looking for a feature where I can add more than one cascading Comboboxes in a cell as editor. Provide me an example or a pointer.

 

 

Stefan
Telerik team
 answered on 05 Mar 2021
2 answers
1.3K+ views

Hi,

GridColumnProps has an editable prop which accepts boolean values only. Is it possible to conditionally set the editability of a column based on values in other columns?

Kind regards,

David

David
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 04 Mar 2021
4 answers
1.1K+ views

 

 

I would like to expand on the example in the docs: https://www.telerik.com/kendo-react-ui/components/form/

When the form is submitted, I want to post the form data to an api end point which may "clean/update" the data and return back to client for additional input.  Once the response is returned, I want to update the corresponding fields; however, I don't see how I would be able to update the Form's fields using some like the following:

formRenderProps.onChange('city', { value: 'Philadelphia' });

Is there a better appro

xiao
Top achievements
Rank 1
 answered on 02 Mar 2021
5 answers
115 views
ComboBox autocomplete is not working
Anthony
Top achievements
Rank 1
Veteran
 answered on 01 Mar 2021
5 answers
657 views

Hi everyone

 

 

I have created a server side validation system, and I should hook it to my application made with KendoRect.

I'm looking for a method like:

setFieldError ('field', 'Message error');

to show the red error message in the correct form field.

Some idea?

 

Many thanks

Stefan
Telerik team
 answered on 22 Feb 2021
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?