Sandeep
7 Sep 2007, 5:18 AM
Hello,
I need a small help regarding the sorting in Ext.Grid.grid.
I have put a dropdown control in one the first column of the grid. The thing is clicking on it does not focus on control, rather the grid's rowclick event is triggered and the row gets selected resulting in the lost focus from the dropdown. To resolve this issue i disabled the the rowclick event:
grid.events = {"rowClick":false};
This solved the problem but now I cannot get the columns sorted. Whenever i click on the Header, it does not sorts the column.
Removing grid.events = {"rowClick":false}; enables sorting but then i face the above mentioned problem of loosing focus from my dropdown control.
I would be grateful if someone could help.
Best Regards,
Sandeep.
I need a small help regarding the sorting in Ext.Grid.grid.
I have put a dropdown control in one the first column of the grid. The thing is clicking on it does not focus on control, rather the grid's rowclick event is triggered and the row gets selected resulting in the lost focus from the dropdown. To resolve this issue i disabled the the rowclick event:
grid.events = {"rowClick":false};
This solved the problem but now I cannot get the columns sorted. Whenever i click on the Header, it does not sorts the column.
Removing grid.events = {"rowClick":false}; enables sorting but then i face the above mentioned problem of loosing focus from my dropdown control.
I would be grateful if someone could help.
Best Regards,
Sandeep.