PDA

View Full Version : apply grid Panel red corner for all fields



asher2007
27 Jun 2012, 8:03 AM
hello i am using extjs 4.1 i am working with a form panel and grid panel
where the later has the list of records which click on them shows their content in the form panel

any way i noticed the while i edit form and changed the name property a red mark is add in the grid panel that indicate the record is dirty
but when i change other fields their isn't any indication i assume that its somewhat related to the fact that the name property is the displayed field in grid panel
so my question is how can i make it work for all the other fields,
make it so that any property changed in the record will make the red mark appear

scottmartin
30 Jun 2012, 11:08 AM
i noticed the while i edit form and changed the name property

I am not sure I understand your question .. change the name property?

If you change data in the store, and that field name is assigned to a column in the grid, the grid will display a dirty marker for that changed record.

Scott.