How to add widget to Dojo gridx/Grid header?
问题 I have gridx/Grid (http://oria.github.io/gridx/) and I want to add some widgets in header cells like textboxes, dropdowns etc. Is there a way to put widget in header cell? 回答1: It seems that what you need is a module called HeaderRegions . Here is it's API . Especially note the add and refresh methods. For a simple example take a look here. To affect only one column header, use a predicate on the argument (column) provided by the callback that is the first argument of add (easiest would be to