This is a migrated thread and some comments may be shown as answers.

Problem with Search if SharePoint

3 Answers 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andrey
Top achievements
Rank 1
Veteran
Andrey asked on 15 Mar 2020, 12:12 AM

Hi, Dev Team!

I use Kendo Grid in my SharePoint site with searh panel  (toolbar: ["search"])

If i press Enter button in search box - my SharePoint site goes to Edit Mode. How i can switch off this reaction?

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 17 Mar 2020, 02:11 PM

Hi Andrey,

Thank you for sharing screenshots of the Grid.

The described leads me to think that when the enter button is hit the focus is not actually on the Search panel but on the table body which triggers the edit mode to be entered. However, this is not the default behavior as can be observed in the following demo: https://demos.telerik.com/kendo-ui/grid/search-panel

Are there any javaScript errors in the console?

Additionally, it will help me a lot to continue the investigation if you can prepare and share a sample runnable page that clearly replicates and isolates the problem. Examining this page locally will help me fully understand the case and eventually I will be able to provide a fix.

Looking forward to your reply.

Regards,
Nikolay
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Andrey
Top achievements
Rank 1
Veteran
answered on 18 Mar 2020, 08:11 AM

Hi, Nikolay!

I am pretty sure focused on search box. I type some text for search in it and after press Enter my page goes to Edit Mode without any javascript exception. sorry can not provide online SharePoint for testing.

0
Nikolay
Telerik team
answered on 20 Mar 2020, 07:55 AM

Hi Andrey,

Thank you for getting back to me.

I tried to reproduce this undesired behavior but unfortunately was not able to. Nevertheless, the way the data comes to the Grid does not reflect on the Search panel functionality in any way. The Search panel itself does not have a keypess event attached. 

If you are no able to isolate and share with me a page replicating the issue I would ask you to provide the Grid configuration. Also are there any custom handlers attached to the Search panel?

Looking forward to hearing from you.

Regards,
Nikolay
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Andrey
Top achievements
Rank 1
Veteran
Answers by
Nikolay
Telerik team
Andrey
Top achievements
Rank 1
Veteran
Share this question
or