PDA

View Full Version : Column config setEditor is not displying the dateField editor at the correct location



jenga03
15 Sep 2011, 1:56 AM
Column config setEditor is not displying the dateField editor at the correct location
Hi,

Based on the type of value present in the row, I am setting the renderer and editor for a column in a treegrid.
Rendering is fine. I am using Label as the rendering component for all the rows in the column.
And on double click of the label I am setting the editor for the column. When the editor is textfield it is rendered correctly. But when the editor is a datefield or a simplecombobox it is rendered at the bottom of the grid.
What should I do make it come at the correct position?
Below is the screenshot.
http://www.sencha.com/forum/image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAh8AAADYCAIAAADETRajAAAcEUlEQVR4nO2db2wb533H701fDCjQDhj2osOK9kWMLkACD7aBlSuwvWmxbMVeLMiQNm4EpPUF2B9s2JalSddGjhMh67KVHpJ2Lmo0qevUVpxEcUuaQf45TWLTsWVTlv9EoqUo+muR0okURVuxldxenHj33N1zFCmdeA+Pnw++eCA+PB5p3N3vc88dzUc7PTBMCCGEhJh9+/ZpkX8IQgghMQt2IYQQEn727dun7QMAANgAzx58XmIXEwAAYAM8f/QNiV1m50qEEELIuhNkl4XZuVIqkyUk3MzOlay9i1bBNvLdo42iwvZSvA0euxRLqUx2dGKakKCkMtmVjz9pPJeHPlg9LIslWgXbzjzkm92NVz7+JJXJqrC9FG/ldrlaXLDsUqpUCAlKKpNdaBj7sLT2LloF28485FOZbLlJLLtEvr0Ub4PssrqrVapVQoLSlF0WFhaWqtVUJmvtXbQKtp15yK/PLipsL8VbuV1mCgszxYVUJlu9fp2QoDRrl5s3b6YyWWvvolWw7cxDPpXJlgQsfwQ9tEhlsipsL8XbALsUF2aKRiqTvf7RR4QEZZ12KS7MFA1aBdvOPOTF3XhxcbFcXZmvrCwuLloP5ysr5erqQ5tUJqvC9lK8DRq7GNOFhVQm+9HNm4QEZb1jF2O6sECrYNuZh3wqkzUMwzCMUqlUWlq573Bu7ytjxcWVSqVSXFzZ+8rYfYdzpaWVUqlk1EhlsipsL8XbOnYxUpnsysrHm5bULm3Xr5tYrMHlSesi2uXs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vGOd9c422DgAiETP7sUmkFul+ePvkEIIYRsJBK7eLoIIYSQDQa7EEIICT/YhRBCSPjBLoQQQsLPhuzyyCOPRP4PIIQQomD27dv3/8CHDzafrPq9AAAAAElFTkSuQmCC

When I double click on Jul 22,2011 the editor should be set at the same location. But it comes below the treegrid as seen in the attached screenshot 1.png.