Kendo Grid column menu buttons do not work

1 Answer 110 Views
Button DropDownButton Grid
Omer Faruk
Top achievements
Rank 1
Omer Faruk asked on 17 Oct 2022, 11:28 AM

The three dots buttons that open column menu settings work in the last three column but no in the others. On the other hand we use kendo windows, when we change the width of window; the column menu opener buttons work properly.

1 Answer, 1 is accepted

Sort by
0
Aleksandar
Telerik team
answered on 20 Oct 2022, 05:03 AM

Hello Omer,

Can you share some additional details:

  • configuration of the grid and window
  • version of Telerik UI for ASP.ENT Core used
  • which theme is used

I tested the reported behavior with the latest version and the column menu buttons work as expected. Here is a sample REPL I used for testing. It would be beneficial if you can update the example, so the behavior experienced is replicated. Or send a runnable example of your own where I can observe the issue.

Regards,
Aleksandar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Omer Faruk
Top achievements
Rank 1
commented on 24 Oct 2022, 01:42 PM

I use asp.net core 2022.1.301 version of telerik kendo ui. There are 8000 of code line in my cshtml file i do not know where is the error come from so i am not sure about which code block i should be share with you.
Aleksandar
Telerik team
commented on 27 Oct 2022, 05:29 AM

I understand the issue might not be trivial, but I am sure you will agree is not possible to debug such an issue only by a screenshot.

You could try and extract the relevant pieces of code in a sample REPL (try to extend any of the online demos we have by using them as a starting point) or in a sample application - use a Grid, with the respective configuration and some dummy data, extract any styles or JavaScript (i.e. event handlers) that are relevant to the issue. You can find more details in on providing relevant information that helps debug an issue in this blog post.

Omer Faruk
Top achievements
Rank 1
commented on 03 Nov 2022, 12:52 PM

Is there a function that trigger the column menu open action.
Aleksandar
Telerik team
commented on 08 Nov 2022, 06:28 AM

The client-side API of the Grid does not expose such a method. A possible approach I can think of if using the jQuery click method on the desired .k-header-column-menu element
var columnMenuButtonElements = $(".k-header-column-menu");
$(columnMenuButtonElements[0]).click(); //open the first ColumnMenu
Omer Faruk
Top achievements
Rank 1
commented on 08 Nov 2022, 08:25 AM | edited

It doesn't work. I tried this action before. Also, the last three column menu open when click them. The other ones don't.
Aleksandar
Telerik team
commented on 08 Nov 2022, 09:17 AM

Here is a sample REPL that demonstrates the suggestion. The logic is executed in an event handler or on document.ready. In order to be able to help consider providing additional details, as requested in the initial reply to the post. Otherwise I can only guess what the issue might be and it is difficult to provide a more precise suggestion on handling the scenario.
Tags
Button DropDownButton Grid
Asked by
Omer Faruk
Top achievements
Rank 1
Answers by
Aleksandar
Telerik team
Share this question
or