0

The issue that I am having pertains to ExtJS 3.4

I have two issues :

  1. If after applying change handlers onto a select dropdown I move the column or change the Grid View (which also can move columns). The 'change' handler breaks. The name of the select drop down remains the same but does not fire the 'change' event.
  2. There is an additional drop-down that allows you to change the type of document you are creating. And this essentially changes the name of the element. This makes sense that the handler wont handle the event. However is there a way to listen for element name change and add the previous handler to the new element?
// Current code to add on change handler
Ext.get(Ext.DomQuery.select("select[name='" + item + "']")[0]).on('change', me.handleOnChange);

This picture may help in understanding the UI layout

Nilesh Tailor
  • 146
  • 2
  • 6
  • In case you're wondering why I am using name instead of id. The reason is that ExtJS seems to set each the id of each select element to be the same as the row column. – Nilesh Tailor Jan 10 '14 at 19:11
  • Can you please tell me what you're trying to do?And which file are you modifying to customize this object creation window? – Vignesh Vino Jan 13 '14 at 06:39

0 Answers0