Telerik Forums
KendoReact Forum
1 answer
112 views

Hi.

I notice that when I put value in the filter input and then remove it the operator is deleted also. Is there any way to prevent that?

video attached.

Thanks

Filip
Telerik team
 answered on 28 Mar 2022
1 answer
202 views

Hi.

I'm trying to do a custom GridToolbar that will serve many data grids but it won't render, what is the problem and how I can do it?

stackblitz example

 

Thanks.

Filip
Telerik team
 answered on 28 Mar 2022
1 answer
58 views

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

Stefan
Telerik team
 answered on 28 Mar 2022
1 answer
1.6K+ views

Hey there,

I've been having a tough time getting infinite scrolling to work with sorting and filtering. Because the infinite scrolling splices out of the array of data, I've set up an "original data" state to hold all of the unmutated data. However, this is not working well because the scroll location when you unfilter the data is causing more items to be loaded. I'm sure I'm dealing with a bug on my end, but is there any example of infinite scrolling with sorting and filtering? With a simplified example, I might be able to see what I'm doing wrong on my end.

 

Thank you!
Janki

Filip
Telerik team
 answered on 25 Mar 2022
1 answer
142 views
  • What's the Pros / Cons in comparison to other react frameworks?

  • Are there any pre-made design / prototyping solutions on the market?

  • If not, will you be interested in having such product for prototyping within Kenda UI guidelines?

Stefan
Telerik team
 answered on 25 Mar 2022
1 answer
391 views

Hello, I would like to create my own icon component that includes a tooltip. I created a small sample project on stackblitz for this. Unfortunately, the icon and the tooltip don't work quite right in the example project, but that's not important for my question.

My goal would be for the two icon components to be displayed in a line next to each other by default. 

After executing, if I assign the style attribute <div style="display: inline-block"> to the div that wraps the span, it works the way I want it to. 

I'm assuming the tooltip behind the scenes creates this construct, which I can't directly access in the code via the <tooltip> tag. Is there a way to find out which CSS class one would need to access to enable the desired behavior.

I would be very happy about a solution proposal. Thanks in advance.

 

Stefan
Telerik team
 answered on 25 Mar 2022
0 answers
110 views

Hello,

I am facing an issue with the Scheduler. When I add a new event in the Scheduler , the resulting event is not displayed properly. For example, if I create a new event between 9:00 AM and 10:00 AM , it will be displayed on my scheduler between 8:30 AM and 9:30 AM. Then , if i click on the event, change view or reload the page , it will display properly between 9:00 AM and 10:00 AM.

I have noticed that the "display gap" is linked to the slotDuration of the view. I have tried to change the slotDuration from 30 min  to 15 min and then the "display gap" was 15 min.

Note that the "display gap" does not appear if i use the default date value when i create an event with 30 min duration for the event. But if i add programmatically a logic like endDate= startDate + 1 hour , then the display gap appears. 

What can i do to solve my problem ?

Dev Stack:

- NextJS : 12.0.10

- Kendo-React-Scheduler : 4.12.0

Here is a gif that show the wrong display at first and then when i click on it , it goes back to proper display  :

Thank you in advance.

Guillaume
Top achievements
Rank 1
 asked on 24 Mar 2022
1 answer
46 views
Our app uses a custom date picker that is not from Kendo (better matched the UI our designers were going for). When I try to create a custom filter menu I can get the menu and then the calendar to open. When I go to select a date I think the filter menu see that as a click outside of menu and it closes.

Also suspect part of the issue is that the date picker uses moment to format dates so there could be a possible mismatch there, although I think I have done what I can to convert this format as needed.
Filip
Telerik team
 answered on 24 Mar 2022
1 answer
49 views

I am trying to highlight the text in a combobox so that I can highlight the text when a user clicks in the combo box.

 

Here is a sample of what I am trying to do:

  <ComboBox
                            className='k-combobox'
                            placeholder='Select Center'
                            data={this.state.centerAccessFiltered }
                            textField="centerDisplayName"
                            value={this.state.selectedCenter}
                            filterable={true}
                            onFilterChange={this.filterChange}
                            onChange={(e) => this.changeCenter(e.target.value.centerID.toString())}
                            clearButton={false}
                            onFocus={this.handleFocus}
                        />

 

    handleFocus = (e) => {
        e.target.element.select()
    }

 

 

This works on the Input Control but not on the ComboBox.  Is there a way to select the current text when as user clicks on the control?

 

 

Konstantin Dikov
Telerik team
 answered on 24 Mar 2022
1 answer
59 views

Are there any React code samples for displaying a grid drop down editor but with multiple columns?

Thanks

Filip
Telerik team
 answered on 23 Mar 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?