ExtJS 4 - Using a ComboBox in a Grid
If you would like your grid to display the text of a bound list instead of the backing value, but keep the backing value present for use with CellEditing, make your column a TemplateColumn.
http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.column.Template
This lets you template the display, but use use another value if your model is set up for it.
Written by Chris Missal
Related protips
1 Response
So basically it's almost the same as using a regular column with a custom renderer function specified?
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Extjs
Authors
Did you know?
JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.
Security insights from Cside
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#