Telerik Forums
KendoReact Forum
2 answers
107 views
Hi, currently component Pager (https://www.telerik.com/kendo-react-ui/components/datatools/pager/) doesn't allow to display text before dropdown.

Pager now:

What i want to achieve:

Will you consider supporting such an option in the future? 
Kamil
Top achievements
Rank 1
Iron
Iron
 answered on 16 Aug 2022
0 answers
375 views

I just followed the instructions to create a my own new react app that uses telerik reporting viewer, I'v set the rest service and it's working fine , but when I'm trying to load a viewer in the website this error pops up (in the console) , Just followed all the steps in the docs ,and still getting this error , by the way the demo react app works fine for me and loads the report properly 

 

"Uncaught TypeError: perspectiveManager.dispose is not a function
    at Object.dispose (telerikReportViewer.js:8168:1)
    at TelerikReportViewer.dispose (telerik-report-viewer.js:213:1)
    at TelerikReportViewer.componentWillUnmount (telerik-report-viewer.js:105:1)
    at callComponentWillUnmountWithTimer (react-dom.development.js:22852:1)
    at safelyCallComponentWillUnmount (react-dom.development.js:22873:1)
    at invokeLayoutEffectUnmountInDEV (react-dom.development.js:25188:1)
    at invokeEffectsInDev (react-dom.development.js:27351:1)
    at commitDoubleInvokeEffectsInDEV (react-dom.development.js:27321:1)
    at commitRootImpl (react-dom.development.js:26883:1)
    at commitRoot (react-dom.development.js:26682:1)"

function App() {
  let viewer;
  return (
    <div>
      <TelerikReportViewer
        ref={(el) => (viewer = el)}
        serviceUrl="https://localhost:7236/api/reports/"
        reportSource={{
          report: "BarcodesReport.trdp",
          parameters: {},
        }}
        viewerContainerStyle={{
          position: "absolute",
          left: "5px",
          right: "5px",
          top: "40px",
          bottom: "5px",
          overflow: "hidden",
          clear: "both",
          fontFamily: "ms sans serif",
        }}
        viewMode="INTERACTIVE"
        scaleMode="SPECIFIC"
        scale={1.0}
        enableAccessibility={true}
      />
    </div>
  );

"

"

hadi
Top achievements
Rank 1
 asked on 15 Aug 2022
0 answers
275 views
I am trying to modernize my application but at a minimal cost. Rewriting my entire system that I developed on Progress/Openedge since 2001 is something I am trying to run away from, so to speak. In Progress/Openedge, there is a way you can run startup parameter files in batch mode so that they are executed in the background.

I want my user interface to be Kendo UI and be able to pick some input data from the user inputs, save it as a .txt or .csv file, call a Progress ABL via a batch mode in the background, import it into an Openedge table, execute the Progress ABL programs for it, get the outcome and save it as a .txt or .csv, then import the outcome back into Kendo UI for the user to interact with it. I feel this is faster than rewriting all my Progress ABL codes afresh.

Is this scenario achievable?

Regards

Zadock

Zadock
Top achievements
Rank 1
 asked on 13 Aug 2022
1 answer
230 views

Hi,

There is an easy way for setting the prop id on rowRender or I have to do that :

 

rowRender = (trElementdataItem, myId=> {
    const trProps = {

      id: myId,

      ...trElement.props,

 

    };
    return React.cloneElement(trElement, { ...trProps }, trElement.props.children);

  }

Konstantin Dikov
Telerik team
 answered on 08 Aug 2022
1 answer
519 views
When using StockChart, when I want to use the mouse wheel to slide down the page, it will automatically adjust the range of the navigator. and I can't find how to disable this feature.
Vessy
Telerik team
 answered on 08 Aug 2022
1 answer
168 views
For example, in this project, when I click point on the graph and setNumber, refreshChart has been set to false but the chart is still refreshed, and handleChartRefresh is not triggered.


objective-cherry-2jm3h3 - CodeSandbox
Filip
Telerik team
 answered on 08 Aug 2022
1 answer
160 views

I'm following the example for using a treelist

https://www.telerik.com/kendo-react-ui/components/treelist/

One thing I noticed is when I enter a filter term, the match result could be hidden/collapsed in the child of a displayed parent. Is there a good way to auto expand out and highlight the matched rows?

 

Vessy
Telerik team
 answered on 05 Aug 2022
1 answer
317 views

I would like to render a Field component outside the Form render function, is this possible? I would like to leverage the validator prop/logic that comes with the Field component.


const InputValidationWrapper = (fieldRenderProps) => { const { validationMessage, visited, enabledAutoComplete, ...others } = fieldRenderProps; const inputProps = enabledAutoComplete ? others : { ...others, autoComplete: "off" }; return ( <div className="pingora-val-i"> <Input {...inputProps} /> {visited && validationMessage && <Error>{validationMessage}</Error>} </div> ); };

const nameValidator = (value) => (!value ? 'Full Name is required' : '');

const App = () => {

return ( <div> <Field id={'fullName'} name={'fullName'} label={'Full Name'} component={Input} validator={nameValidator} /> </div> ); };


Thanks

Filip
Telerik team
 answered on 05 Aug 2022
0 answers
499 views

Hi.

As the example on the documentation pages still uses react router 4 and I had to struggle a bit to make the Drawer component work with version 6, I thought I'd share an example of a possible solution. It's a little hacky because I send all unknown routes to home but it works. :-) 

Hope this helps somebody.

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

Greetings,

Bernd

 

Bernd
Top achievements
Rank 5
Bronze
Bronze
Bronze
 asked on 03 Aug 2022
1 answer
85 views

I'm using stepper as a page navigation tool. You can either click on the stepper itself or click on a next button to go to next page.

 

Currently, when next button is click, I set the stepper value to the next stepper item. This works as k-step-current style is applied correctly, but k-step-focus is still on the previous item. Any solutions to update k-step-focus?

 

Stepper works as expected when clicking on the stepper itself.

Filip
Telerik team
 answered on 02 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?