:: Forum >>

html <input> injection

Hello!

I'm trying to do somenthing like this (don't ask me why:-)):

grid.setCellText( function(col,row)
{
return '<input style="width:100%;" type="text" />';
} , 0);

but even if input seems working properly, I can't select the text inside it...
Any ideas?


Cheers,
HyP
HyP
Tuesday, September 18, 2007
You should remove onselectstart event handler -

grid.setEvent("onselectstart", "");
Alex (ActiveWidgets)
Tuesday, September 18, 2007
It works :-)

Thank you very much!
HyP
Tuesday, September 18, 2007

This topic is archived.


Back to support forum

Forum search