PDA

View Full Version : Single Edit from an editable grid



ngd
25 Apr 2011, 8:54 PM
Folks,

I have a grid that has about 30 possible columns. Since showing 30 columns takes up too much space, I plan to show the 10 most frequently used columns. I also want to give the ability for the end user to customize the columns. All this is fine and I know how to do this.

What I also want to provide is when the end user double-clicks on a grow, a form should popup. This form will have all the 30 fields, grouped in tabs like 'Basic', 'Financial', 'Advanced' and 'Custom Fields'. On save, it should write to the grid store.

My question is : is there an easy way to generate the form given that I am defining almost everything in the grid. I don't want to repeat code.

Thanks.