Categories | Question details Back To List | ||
Highlight grid cell text on doubleclick Hi I had previously asked the same question in reply to which you sent me a code to change the background colour. But I dont want to explicitly change the background colour. I guess my question was not put right. Suppose we have a text box and when we double click on its contents then the text gets highlighted in Blue automatically. This is exactly what I want to achieve here on double click. But currently when I double click on the cell, the cell becomes editable(if lightmouse navigation is set false) and on the next double click the contents gets highlighted. I want to achieve that highlight on a single double click. I tried setting lightmouse navigation to true and tried some things with .select but nothing seems to work. Please help Thanks in Advance Answer posted by dhxSupport on Apr 28, 2009 14:13 To highlight content of cell after switching to edit state you can use following code: mygrid.attachEvent("onEditCell",function(stage,rowId,cellInd){ |