I've got a DataSource in a .ds.xml file with binary data corresponding to a file in one of the fields, and I want to display this in a ListGrid.
My objectives are:
1) Somewhere in the record, I want to display the download icon, the view icon, and the filename.
2) I want to let users use the filterEditor to search by filename. Unfortunately, the filter editor component above my type="binary" is not a text editor. So right now, I'm displaying another field type="text" with the filename.
3) I don't want to display the filename in two fields (once to get the icons, and again to enable filtering).
There seem to be 3 approaches to meeting all objectives together:
a) Remove the binary field altogether and implement a mechanism independent of the ListGrid for viewing/downloading.
b) Find a way to get the type="binary" field to allow filtering based on the filename
c) Use two fields, and find a way to suppress the appearance of the filename in the type="binary" field.
I can work out a) on my own, but is there any way to get options b) or c) to work?
My objectives are:
1) Somewhere in the record, I want to display the download icon, the view icon, and the filename.
2) I want to let users use the filterEditor to search by filename. Unfortunately, the filter editor component above my type="binary" is not a text editor. So right now, I'm displaying another field type="text" with the filename.
3) I don't want to display the filename in two fields (once to get the icons, and again to enable filtering).
There seem to be 3 approaches to meeting all objectives together:
a) Remove the binary field altogether and implement a mechanism independent of the ListGrid for viewing/downloading.
b) Find a way to get the type="binary" field to allow filtering based on the filename
c) Use two fields, and find a way to suppress the appearance of the filename in the type="binary" field.
I can work out a) on my own, but is there any way to get options b) or c) to work?
Comment