Fórum

How to open/show cellEditor manually ?

Shantaram Tupe, modificado 9 Anos atrás.

How to open/show cellEditor manually ?

New Member Postagens: 2 Data de Entrada: 11/08/14 Postagens Recentes
Hello ,
I'm writing a code , so that I can change column's editor manually . I'm able to set editor event on double click event ('dblClick') .
When I click on cell, effect is observe on next click .
What is missing ?
Or
How can open/show editor manually ?

My code is like .......

							table.delegate('dblclick', function(e) {
								var target = e.currentTarget;  
								var model = table.getRecord(target.get('id'));
								
								$('#selectedKey').val(model.get('keyID'));
								var type = model.get('type');
								var column = this.get('columns.value'); 
								column.editor = editors[type];
                                                                this.showCellEditor(target);  

							},'tr', table);  


this.showCellEditor(target); --> this method is of YUI (Yahoo's UI) . Is any method is resemble to this one in Alloy UI ?