PDA

View Full Version : Need help with EditorGridPanel



macdoug1
7 Oct 2009, 10:36 AM
I have created a component that will provide me an EditorGridPanel but it is complaining when I don't have a data store to put into it. What do I set in order to display a few rows of the EditorGridPanel at initialization such that it shows some blank rows in the grid and from that point will proceed to get data to put in using the AJAX functionality or if it is just new data that is manually entered?

Help at this point is greatly appreciated. I've looked at just about all the examples I can find and can't seem to figure out what will allow what I need.

thanks
Andrew

mitchellsimoens
7 Oct 2009, 6:44 PM
easiest way is just to create a data store with some blank rows and people can edit those. If someone adds a row, then you can delete a blank row and if someone deletes a row and there are less rows than the initial blank row count add the blank(s) row back.