java - How to Add Listener to cell in GXT Editable Grid -


i writing code editable grid using gxt.i created 1 column textfield editor below:

column=new columnconfig();     column.setid("checkintime");     column.setheader("check in time");     column.setwidth(80);     column.setmenudisabled(true);     column.setsortable(false);     final textfield<string> text = new textfield<string>();       column.seteditor(new celleditor(text));     configs.add(column); 

now need add listener cell of column validate value of cell , need reset value if validations fails.please suggest how this.

i using gxt 2.2.3.

update below imports

import com.extjs.gxt.ui.client.widget.grid.columnconfig; import com.extjs.gxt.ui.client.widget.grid.columnmodel; import com.extjs.gxt.ui.client.widget.grid.editorgrid; import com.extjs.gxt.ui.client.widget.form.textfield; import com.extjs.gxt.ui.client.widget.grid.celleditor; 


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -