jqgrid group expand/collapse event - javascript

Is there an event that is fired from jqGrid to notify that a certain group is expanded or collapsed?
I have searched in the internet and I found there is an event for treeGrid but not sure about jqGrid.
I wonder if jqGrid has one so we can know if user is expanding / collapsing certain group by listening to that event.
Thanks!

There are exist callback onClickGroup starting with jqGrid 4.0.0 (see here) and jQuery Event jqGridGroupingClickGroup starting with 4.3.2. The parameters are hid, collapsed. See the answer and this one for the corresponding code examples.

Related

Remove expand event of Business Process Flow

I want to remove expand event of my business process flow. I want to achieve that because I do not want my BPF to expand at all which is their nature by default.
I am using Classic UI/Web Refresh, dynamics CRM version 8.2.
Below are the screenshot from where i remove these expand events than my logic works fine but as soon as i try to use Jquery or JavaScript to remove these events it does not work. I have tries using off event of Jquery or removeEventListener of JavaScript, but they do not work.
The Element from where I want to remove expand Event Listener
The Expand event listener:

Trigger row specific kendo ui angular 2 grid mouse over event

I know that using the template syntax I could use the standard angular 2 (mouseover) event listener to listen for a mouse over event for a specific column. I was wondering if there is a way to listen for mouseover events for an entire row and be able to get the index for that row.
I am trying to a achieve an mouse over hover action the triggers on one row at a time, without having to use multiple <template> tags on each column.
Any help is much appreciated. If there is a better approach then I am all ears.
It is possible to handle the row mouse events from within the 'consuming' component. You should check following GH issue for a runnable sample of such approach: https://github.com/telerik/kendo-angular2/issues/21#issuecomment-247941402

triggering of events manually in slickgrid

I have implemented an onclick event in slickgrid. It works fine if I click on the grid using the mouse but if I trigger a click event from the web console, the value of the row in args is displaying as negative. So I'm not able to proceed further. Any help is appreciated.
grid.onClick.subscribe(function(e, args) {
var row = args.row;
The row is coming as negative if I trigger a click event on the grid using javascript from web console.
I found the solution for the issue. We can trigger the slickgrid events in following ways:- grid.onClick.notify({row:0})

Double click event for Kendo Treeview control items for MVC

1.What I have is a Kendo TreeView control similar to the below structure.
- Parent 1
- Child 1 of Parent 1
- Child 2 of Parent 1
- Parent 2
I need to trigger an event on Double click of any of the items listed above in the treeview.
There exists an event for single click, that is .Select(). But I don't seem to find one for double click.
Is there any way to trigger a double click event from the control itself, if not, what is the suggested alternate for the same?
Any help/suggestions appreciated
Thanks in advance
PS: I'm using Kendo Trial Version for my POC and want to check whether I'll be able to implement the desired funtionalities for my project before it commenences.

How can I hook a double click event from an ExtJs RowBody?

I am using an Ext.grid.plugin.RowExpander which uses Ext.grid.feature.RowBody as the base for toggling. The grid has a double click listener that opens a window. The problem is that double clicking on the RowBody does not fire the double click event on the grid and I cannot even find how to hook the event.
I was dumb and did not read the documentation for Ext.grid.feature.RowBody. It clearly says that the feature exposes three "additional events on the gridview" including rowbodydblclick. There is still some difficulty in knowing which row in the grid or more importantly which record the RowBody that trigger the event was part of.

Categories