Telerik Forums
KendoReact Forum
1 answer
84 views

Hi.

If I use your example for re-ordering grid rows by drag&drop, there are a lot of console warnings showing up:

https://stackblitz.com/run/?file=app%2Fdraggable-row.tsx

I think the issue results from the file drag-handle-cell.tsx where there is a td tag just adding the ...props as attributes which doesn't seem to result in valid HTML.

I'm not sure if this has an impact on the re-ordering because if I simply delete the ...props from the td, it still seems to work. Can you please check and let me know if it's ok to remove the ...props from the td?

Thanks,

Greetings,

Bernd

Konstantin Dikov
Telerik team
 answered on 25 Aug 2022
1 answer
116 views

Is it possible for the drawer component to use Inertia JS instead of react router?

Filip
Telerik team
 answered on 23 Aug 2022
1 answer
85 views

Is there a way to format/create cells that has a sub grid structure (see attached)?

 

Filip
Telerik team
 answered on 23 Aug 2022
1 answer
307 views

Hi.

I am trying to only show the detail (+) button in a grid row if a field has a specific value but I can't make it work. Here is an example:

https://stackblitz.com/edit/react-skjcz7?file=app%2Fmain.tsx

As you can see, the + button in the first row does not get replaced by my new button and also if I click on my button it results in an error.

I found a quite old example from a similar thread here but it was build with a class based component. I tried to do this with my function based approach but obviously I'm missing something.

Thanks for your help!

Greetings,

Bernd

Konstantin Dikov
Telerik team
 answered on 23 Aug 2022
1 answer
1.1K+ views

I see that KendoReact offers a lot of the CSS utility classes like e.g. Tailwind CSS does. I would like to use those for things like flexbox and CSS grid, but also for generic padding and margins and such, in the same way I would with Tailwind.

Is there any documentation for these utility classes somewhere on the site? I cannot seem to find any.

Also, in my IDE (Webstorm) the autocomplete offers classes prefixed with 'k-' but also '!k-' and 'k-i-'. What is the difference between these?

Lastly, would it be possible to use Tailwind instead of KendoReact's utility classes alltogether?

How would I go about removing the classes from KendoReact if I wanted to? (without having to delete all of them by hand from the ...-all.css files)

Or perhaps better yet... is there a general 'kendo-react' way to use flexbox or css grid classes?

Filip
Telerik team
 answered on 22 Aug 2022
2 answers
94 views

Does exists any operator, which is able to filter all data values, where "X includes 1" ?

<script>
var dataSource = new kendo.data.DataSource({
  data: [
    { name: "Jane Doe", birthday: new Date(1983, 1, 1), x: [1, 2]},
    { name: "John Doe", birthday: new Date(1980, 1, 1), x: [2, 3]}
  ],
  filter: { field: "x", operator: "eq", value: 1 }
});
dataSource.fetch(function(){
  var view = dataSource.view();
/* The result can be observed in the DevTools(F12) console of the browser. */
  console.log(view.length); // displays "1"
/* The result can be observed in the DevTools(F12) console of the browser. */
  console.log(view[0]); // displays "Jane Doe"
});
</script>

Thanks a lot for an each help :-)

Filip
Telerik team
 answered on 18 Aug 2022
1 answer
102 views

Hi Team,

When using the scheduler and having the RecurrenceId linked to the start event, the RecurrenceException does not populate the in the updated events callback.

Below example show the data structure of all events refering to the start event id. You can see in the console the recurrenceException has a value but its undefined.

https://stackblitz.com/edit/react-smdyt8?file=app%2Fdata.js

Looking for a recomendation on how to solve this issue?

Regards,

Filip
Telerik team
 answered on 18 Aug 2022
1 answer
512 views

Does exists any Kendo input component, which can be used to enter of keywords/tags?

For example, something like this:
https://www.npmjs.com/package/react-tag-input 

demo.gif

O...or like this:

 

Thanks a lot for an each help :-)

 

 

Filip
Telerik team
 answered on 17 Aug 2022
1 answer
176 views

Hi,

I tried to use the firstFilterProps and the secondFilterProps to get the custom date range. I followed this example:

https://stackblitz.com/edit/react-ma6dmb?file=app%2FcustomFilterUI.jsx

But there is a bug.

firstFilterProps and secondFilterProps can switch places.

Please take a look at the steps I took:

1. I only selected the second filter and then hit the "FILTER" button

2. I reopened the date range filter but the second field is now empty and the value went into the first field

What I saw is that the firstFilterProps can sometimes switch places with the secondFilterProps and that depended on the array itself. So if an array of filters had only a single element it would automatically assume it as the firstFilterProps even if that is not always the case. It would be great if somehow before this it could check and match the same keys firstFilterProps === firstFilterProps, secondFilterProps === secondFilterProps before automatically putting it based on the array length.

Konstantin Dikov
Telerik team
 answered on 17 Aug 2022
1 answer
256 views

I'm using KendoUploader with autoUpload=false. When the autoUpload is set to false, on bottom side of uploader is displayed button to upload files manually. I would like to ask, if is possible to hide bottom buttons and somehow call some method/attribute of Upload component to start upload with the script. Is it possible? 

(I would like to start upload after success submit of Kendo Form).

<Upload
                                  autoUpload={false}
                                  batch={false}
                                  multiple={true}
                                  defaultFiles={[]}
                                  withCredentials={false}
                                  saveUrl={"https://demos.telerik.com/kendo-ui/service-v4/upload/save"}
                                  removeUrl={"https://demos.telerik.com/kendo-ui/service-v4/upload/remove"}
                              />

Thanks a lot for each help :-)

Vessy
Telerik team
 answered on 16 Aug 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?