Hi,
I thought finding this property would require no thought of my own, but I have not been able to find the setting/property anywhere...
how do you set the text for the "Add New Row" button. Currently, it seems to default to the DATA_MEMBER property.
E.g. Add... USER_ROLE. I would like to be able to set it firstly to a more friendly text description.
thanks heaps. David.
Just a quick follow-up - I believe I found the propperty you need - just set the Hidden property of AddNewBox to False and then set the Prompt property to the actual text you want to see displayed.
Version="4.00" AllowAddNewDefault="Yes" AllowDeleteDefault="Yes" AllowUpdateDefault="Yes"> <FrameStyle Height="200px" Width="325px"> </FrameStyle> <AddNewBox Hidden="False" Prompt="New Prompt"> </AddNewBox> <ActivationObject BorderColor="" BorderWidth=""> </ActivationObject> <AddNewRowDefault Visible="Yes"> </AddNewRowDefault> </DisplayLayout>
I did in the end implement my own add button which works well. The Prompt property of the AddNewBox style settings is for the text before the butto... Eg.
<AddNewBox hidden="False" Prompt="Something random"> </AddNewBox>
would display the following:
Something random [ BUTTON TEXT ]
thanks heaps though for searching...
I did get this to work eventually. It is not very clear in the documentation but this is what you do.
<DisplayLayout ...<AddNewButton Prompt=" " View="Compact"></AddNewButton>...</DisplayLayout><igtbl:ultrawebband addbuttoncaption="Add" AllowAdd="Yes" AllowUpdate="Yes" CellClickAction="Yes"><columns ...</columns></igtbl:ultrawebband>
Not sure why they implemented it this way but it works.
Amy
brilliant Amy! thanks!
I already had, I just posted something here as well since this is the only thread I found in the forums where people were talking about the Add Row button.
I believe it is best to ask directly in the Grid for WinForms forums here - chances are, you will get faster reply there.
http://forums.infragistics.com/forums/65.aspx
Anyone have any idea how to do the same thing for a WinGrid?