Telerik Forums
KendoReact Forum
1 answer
336 views

I have a date field on my class, displays the data using the below GridColumn, but, I cannot get it to format the date string, no matter what I do I always seem to get 2020-07-31T00:00:00

<GridColumn
                field="del_Date"
                title="Del Date"
                width="150px"
                editable={false}
                filter="date" 
                format="{0:D/M/YY}"
              />

 

I have followed the documentation and the above seems to be correct, what could I be doing wrong?

Stefan
Telerik team
 answered on 29 Jul 2020
2 answers
146 views

Hi All

Fairly new to typescript/react

I am trying to set the sort properties for a sub grid in a GridDetailsRow component (class DetailComponent extends GridDetailRow )

 

I have no issue with sort setting on the parent/master grid using the state, ie:

this.state = {
      data: productsInit,
      gridDataState: {
        sort: [{ field: "lineitemnumber", dir: "asc" }],
        page: { skip: 0, take: 100 }
      }

}

 

But how do I use the global state to set a different sort on subgrids?

 

Any help would be great, thanks

Nick
Top achievements
Rank 1
Veteran
 answered on 29 Jul 2020
1 answer
113 views
Hi,

I have a question regarding React Scheduler:
If I have more than 2 events it will give 3 dots at the bottom of the Slot,
is it possible to render more than 2 events?

Thanks
Kiril
Telerik team
 answered on 29 Jul 2020
4 answers
751 views

Is there a way to Focus on a columns filter text box after selecting a filter option like "Contains" or "Starts with"?

The focus is on one of the records but should be on the filter text line so the user can enter filter criteria.

 

 

 

Matt
Top achievements
Rank 1
 answered on 28 Jul 2020
1 answer
248 views

How to use the editor for formatting markdown format response. Is there a way to toggle the editor to view mode with no options and only content.

Example Markdown text : "**Stereo speakers**\n\nThe 10-point multi-touch touchscreen lets you use your fingers to select, zoom, and move things around.\n\nMechanical friction attaches the Clipboard to the keyboard. The keyboard features a standard layout and backlit keys, with special shortcut and function keys to help you do common tasks more quickly.  Write naturally with the included Surface Pen. Quickly jot down notes or capture screenshots in OneNote, even while your Surface is locked.  Surface Book supports standard Wi-Fi protocols (802.11a/b/g/n/ac) and Bluetooth® 4.0. Connect to a wireless network and use Bluetooth devices such as mice, printers, and headsets.\n\nSurface Book features an 8-megapixel rear camera with autofocus and a 5-megapixel, fixed-focus front camera. Both cameras are high resolution and record video in 1080p, with a 16:9 aspect ratio (widescreen).\n\nSurface Book is also Windows Hello compatible with an infrared (IR) face-detection camera built in.\n\nTwo noise-canceling microphones ensure accurate audio recording and enhanced call quality.\n\nTwo front-facing stereo speakers with Dolby® enhanced sound provide an immersive playback experience for all your music, podcasts, and audio books.\n\nPorts and connectors "

Nikolay
Telerik team
 answered on 28 Jul 2020
4 answers
166 views

Hi,

All column menu examples in the documentation are column type specific (date, text, boolean...) https://www.telerik.com/kendo-react-ui/components/treelist/columns/menu/ . How to do a generic column menu with only sort and without any filter? 

Matej
Top achievements
Rank 1
Veteran
 answered on 24 Jul 2020
1 answer
342 views

My custom component for a custom cell is created using Typescript:

1.import {GridCellProps} from '@progress/kendo-react-grid';
2. 
3.export class CustomCell extends React.Component<Readonly<GridCellProps>> {
4.    ...
5.}

I am trying to pass a custom prop to it: 

MyCustomCell = (props) => <CustomCell {...props} myProp={this.customData} />

But get the error:
Property 'myProp' does not exist on type 'Readonly<Readonly<GridCellProps>> & Readonly<{ children?: ReactNode; }>'.

How can I get past the TS constraint?

Stefan
Telerik team
 answered on 23 Jul 2020
2 answers
111 views

Hi,

Is the filterBy from TreeList working with a CompositeFilterDescriptor? Because in the doc there is "descriptors FilterDescriptor[] | CompositeFilterDescriptor[]"  https://www.telerik.com/kendo-react-ui/components/treelist/api/filterBy/ but I was not able to make it work https://stackblitz.com/edit/react-dyav5s?file=app/main.jsx . If there is no support for CompositeFilterDescriptor do you have available some function to convert the CompositeFilterDescriptor to FilterDescriptor?

Matej
Top achievements
Rank 1
Veteran
 answered on 22 Jul 2020
1 answer
213 views
Other than using a CSS style such as "transform: scale(0.85);" is there a way to resize the calendar?  For example; Bootstrap provides the "-sm" class to govern the size of input elements etc.
Silviya
Telerik team
 answered on 22 Jul 2020
2 answers
210 views

 The new ForeColor EditorTool is a great addition to the Editor. How can we set the swatch colors? I tried passing ForeColorProps {} to the component that contained colorPickerProps {}, but just couldn't figure out how to make it work.

Can you please provide an example? I am trying to get a red swatch cell into the swatch. Or, choose another swatch, maybe?

 

Dennis
Top achievements
Rank 2
 answered on 21 Jul 2020
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?