Let’s say i have these values in the combo (of a grid) :
Ana
Maria
Veronica
Lucretia
…and I select Maria. Is it possible for the cell to display “M”,after the selection is made?
Technically it can be done by modification of setValue method of related excell.
dhtmlxgridcell.js , line 1048
eXcell_co.prototype.setValue=function(val){
…
this.setCValue((this.cell._combo||this.grid.getCombo(this.cell._cellIndex)).get(val)||val, val);
can be changed as
this.setCValue(((this.cell._combo||this.grid.getCombo(this.cell._cellIndex)).get(val)||val).substr(0,1), val);