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
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?
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
},
]
}
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
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!
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.
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
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
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