Last Updated: February 25, 2016
·
10.17K
· ChrisMissal

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.

1 Response
Add your 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
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