jqGrid - Highlight current row in cell edit mode? - jqgrid

In jqGrid cell edit mode (cellEdit: true), is there a way to highlight not just the selected cell, but also the row the cell is on as well?

Saw that the default functionality was for the row to be highlighted as well. Further investigation found that I was overriding the cell colors somewhere else in the code.

Related

Is it possible to collapse or hide rows in SlickGrid?

I need expand/collapse feature to show/hide rows in SlickGrid.
So to implement this feature, I have a expand/collapse icon on the Grid header row. And by pressing it, it should Show/Hide all data of the grid (Toggle Visibility).
The feature I want to implement is exactly same as grouping where parent row can be expanded/collapsed by clicking on **+ or -** icon. But without applying grouping.
Should be pretty easy. Just find the viewport div and toggle its visibility on click. Everything else should collapse around it.

handsontable removes and adds cells to the table, how to prevent this?

Handsontable will all an remove off screen cells form the table while scrolling left and right.
How can I stop this. I want all cells to be there, on or off-screen.
Use renderAllRows: true in your handsontable definition

How to make cell save when slickgrid looses focus

I have a SlickGrid with some Editors on a form with some buttons above it. (Save and Cancel). When i edit a cell in the grid and click the buttons above the grid - the cell does not commit it's edit. I've debugged and it is not calling : commitCurrentEdit. I've also tested on clicking an empty area anywhere out of the grid area...
Has anyone noticed this scenario and have a solution to get the cell to commit when one clicks out of the grid. Due to the various positions the grid good be in it would be hard to do an overlay.
Thanks
You can try this:
$("#buttonName").bind("click", function(){
gridName.getEditController().commitCurrentEdit()
});

Mouse hover event in MVC

I am working in MVC and I want to show my data in an asp GridView and I also want to change the row backcolor whenever mouse hover that particular row. Please let me know how can I do that.
Thanks in advance,
gbhatnagar.
Use Javascript (JQUERY!) and have an on hover event for the row. So when hovered over, you switch the previously highlighted row go back to normal and change the colour of the current row.
You could easily do it with Jquery and by having a row css class and a highlighted row css class.

RadGrid Specify ComboBox skin on edit?

I have a grid and a skin specified for that and it works fine. However, on the contained GridDropDownColumn columns, when it shifts to edit mode, the combo box is created nicely, but does NOT inherit the skin of the grid as the text boxes do. This results is a mixture of font sizes in the edit row (inline edit).
How can I tell the created ComboBox which skin to use?
Thanks!
I come upon similar glitch in one of my projects and what helped me to bypass it to set the EnableAjaxSkinRendering property of the RadComboBox editors to true on ItemCreated. Try that to see how it goes.
Dick

Resources