CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Select cell instead of row

by mka » 08 Mar 2017 09:25

Normally when you select a row in the grid, the full row is selected. I want to be able to just select a cell, is that possible?
Regards MKA
mka
 
Posts: 57
Joined: 02 Dec 2013 16:06

by Jorge Sousa » 10 Mar 2017 16:21

Hello

You can call this on create/design time

Grid.JQGridOptions.OnSelectRow.Script:= 'function (rowid,status){ $("#"+rowid).removeClass("ui-state-hover"); }';

or

Grid.JQGridOptions.OnSelectCell.Script:= 'function (rowid,celname,value,iRow,iCol){ $("#"+rowid).removeClass("ui-state-hover"); }';
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by mka » 10 Mar 2017 21:50

Thank you for the reply.
mka
 
Posts: 57
Joined: 02 Dec 2013 16:06


Return to JQGrid

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.