Hi,
Is there any special feature built into UltraGrid that would allow me to add notes to individual rows. I could write something that would do this but it could be a lot of work. If there is something could you provide a sample.
Thanks
Rich
Hi Rich,
Well... there's no functionality specifically for popping up a dialog to edit a note.
It seems to be that the note would have to be stored somewhere, either in the bound data or in an unbound column (which would, of course, be lost once you closed the application).
You could do implement this yourself in any number of ways. You could use an unbound column and set it's Style to Button and then use the ClickCellButton event to show a dialog with a TextBox on it, for example.
You might even want to consider using the RowEditTemplate feature for this. By default, the RowEditTemplate will show all of the fields in the row. But you could remove all but the note field if you wanted.
Hi Mike,
A note in my context is text that I want to associate with a row which I guess I could store it in an unbound column. I was asking if there is anything built in to do this. For example row filtering has a built in dialog to get filtering criteria and I was looking for infragistics functionality that puts up a dialog that works like a rich text editor to create a note (Chooser is another example) and also have the row highlighted or iconed to denote a note exists.
I'm still not really sure what you mean by "notes", exactly. What exactly is a "note" in this context?
Is this something displayed to the user? Is there something special about the way it is displayed which somehow makes it different from a column or cell?
I want to be able to add a note(s) to and ultragrid row. I am currently serializing the dataset and the grid layout to a file which allows me to open it later. I would also like to add notes to this capability. I don't care if the notes are independent of the data source or not. I need a dynamic solution since I have my own query builder that builds hiarctical datasets on the fly to which I want to provide the end-user the ability to add notes.
Can you tell me the function of RowAutoPreview and provide an example.
What exactly do you mean by "Notes?"
You might be looking for the RowAutoPreview functionality.