Hi Isomorphic
I have a small problem, my page has a dynamic form with some text fields,now when i type on text box i have to dynamically show some components say ListGrid where i am showing some data. Problem is this Grid is not inside DynamicForm so whenever i change resolution this component never appears in correct position , it will scattered through the page sometimes on left and sometime on right side.Coz i am not putting it inside a layout which contains my form , i dont want to do that coz it will disturb other things. Any solution.
Thanks
Sameer
Your options are absolute positioning (set left/top coordinate) or using Layouts. It’s not clear what other things you think would be "disturb"ed by the presence of a Layout, so it’s hard to give any more specific advice..
Positioning of Component
Hi Isomorphic
sorry for giving you incomplete info.The problem is my form is in a layout the components of a form are in a correct position.Now say i have a text field whenever i type anything inside a text box say 'abc' , i have to search and show data with abc inside a list grid which appears dynamically just below the text field.This grid is not inside the form i have to bring it on the fly and when user selects something from grid ,grid should disappear.Mean to say grid will come and go, now on different resolutions the position of grid is appearing in different places i have to make it fix for all resolutions.Pls help.
Thanks
Sameer
Sounds like a ComboBoxItem to me rather than a text-only field. If a truly custom list is necessary see the QuickStart guide “Extending” chapter for creating new form controls.
Hi
Thanks a ton for your quick reply , i am able to get the grid but my problem is positioning not the widget. Pls tell me how can i fix the position so that it will appear on same position on all the resolutions.
Thanks
Sameer
Sameer, try to read advice more closely.
davidj6 suggesting replacing your overall approach with a ComboBoxItem. He’s not suggesting a widget fix, he’s suggesting a different approach.
Isomorphic previously suggested using a VLayout to combine the form and grid. If a ComboBoxItem isn’t suitable, this is the right approach.