We're using KendoReact components but finding the animations distracting - how can we disable them by default?
In jQuery kendo there was kendo.effects.disable()
is there anything like that for KendoReact?
I´ve been trying to animate the Dialog component when clicking the open button, but no animation is getting applied, can someone tell me how can I mix both functionalities?
https://stackblitz.com/edit/react-xcbtog?file=index.js
Hi,
I have a virtual scrolling in my grid, it's unknow total data because it depend which user is connected and if there is filter applied, so I just set total to 10000 , because I didn't find any solution to change the total depending on data loading.
So first issue is :
Is it possible to have virtual scrolling without knowing the total data length?
Another problem that I'm struggling with is virtual scrolling with Filtering, after applying a filter on the data I have empty rows in my grid (because now the data length is less than 10000- the total data decaled before).
So the big question is : Is that possible to have virtual scrolling with Filtering and unknow total data length?
I'm adding my code, if this is not possible so what you recommend me to do?
Thank you
Hello,
I am trying to animate a shape (circle) to slide from left to right. I see that there are Animations components available and I have gone through examples. However, since all examples are made as Class components, and the way I draw the shape is with function component drawCircle(), I'm having trouble understanding how to access the circle object inside the component where I'm actually doing the animation.
drawCircle():
import { Circle, geometry } from '@progress/kendo-drawing';
const { Circle: GeomCircle } = geometry;
export default function drawCircle(surface) {
const geometry = new GeomCircle([ window.innerWidth / 2, window.innerHeight / 2 ], 40);
const circle = new Circle(geometry, {
stroke: { color: "red", width: 1 },
fill: {color: "red"},
});
surface.draw(circle);
}
AnimateCircle:
import * as React from 'react';
import { Zoom } from '@progress/kendo-react-animation';
class AnimateCircle extends React.Component {
constructor(props) {
super(props);
this.state = { show: true };
}
onClick = () => {
this.setState({
show: !this.state.show
});
}
render() {
const { show } = this.state;
const children = show ? (<p>Effect</p>) : null;
return (
<div>
<dl>
<dt>
Zoom:
</dt>
<dd>
<button className="k-button" onClick={this.onClick}>Animate</button>
</dd>
</dl>
<Zoom>
{children}
</Zoom>
</div>
);
}
}
export default AnimateCircle;
Hi,
i'm using the popup component in Kendoreact and i tried to change the anmiation enter and exit direction from down and up to right and left with no luck any idea?
Thank You
Monther