Trying to extend flex datagrid to add an “add new row” row?

You have to make the datagrid editable and then add a new object (or whatever you are using) with empty data to the datagrid's data provider Here is an example I have created.

You have to make the datagrid editable and then add a new object (or whatever you are using) with empty data to the datagrid's data provider. Here is an example I have created.

It is editable. I am using an ArrayCollection. I have tried that and added that code to updateDisplayList and invalidate it on change but it does nothing.

If I remove the invalidateDisplayList() from my addRows setter, it will show but only when I click to edit another cell! Any more advice? – pedro_sland Jan 28 '10 at 11:47 I've created an example, see my edit.

– Thomas Jan 28 '10 at 13:13 Thanks very much. I discovered that something was overwriting my dataProvider just after it added that row. Your example made me realise that my datagrid code was fine :) – pedro_sland Jan 28 '10 at 16:16.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions