This question is locked. New answers and comments are not allowed.
Is it possible to display each record per cell?
We have a request to create image/files/assets style gallery and need to display to the user the thumbnails
for each image/file in a grid (i.e. 5 columns x 4 rows) with paging support.
The files are stored in "VPath" sub-directories on the file system.
here is a sample data:
json: { "Images":
[{ "ID": 32, "SacategoryId": 1, "SaSubcategoryId": 35, "Name": "test", "Title": "test", "Thumbnail": "dogs_th.jpg", "Tags": "test", "VPath": "/Content/files/" },
{ "ID": 33, "SacategoryId": 1, "SaSubcategoryId": 35, "Name": "test2", "Title": "test", "Thumbnail": null, "Tags": null, "VPath": "/Content/files/" },
{ "ID": 34, "SacategoryId": 1, "SaSubcategoryId": 35, "Name": null, "Title": "test", "Thumbnail": "dogs_th.jpg", "Tags": "test", "VPath": "/Content/files/" },
{ "ID": 32, "SacategoryId": 1, "SaSubcategoryId": 35, "Name": "test", "Title": "test", "Thumbnail": "dogs_th.jpg", "Tags": "test", "VPath": "/Content/files/" },
{ "ID": 33, "SacategoryId": 1, "SaSubcategoryId": 35, "Name": "test2", "Title": "test", "Thumbnail": null, "Tags": null, "VPath": "/Content/files/" },] }
Regards,
Mark R
We have a request to create image/files/assets style gallery and need to display to the user the thumbnails
for each image/file in a grid (i.e. 5 columns x 4 rows) with paging support.
The files are stored in "VPath" sub-directories on the file system.
here is a sample data:
json: { "Images":
[{ "ID": 32, "SacategoryId": 1, "SaSubcategoryId": 35, "Name": "test", "Title": "test", "Thumbnail": "dogs_th.jpg", "Tags": "test", "VPath": "/Content/files/" },
{ "ID": 33, "SacategoryId": 1, "SaSubcategoryId": 35, "Name": "test2", "Title": "test", "Thumbnail": null, "Tags": null, "VPath": "/Content/files/" },
{ "ID": 34, "SacategoryId": 1, "SaSubcategoryId": 35, "Name": null, "Title": "test", "Thumbnail": "dogs_th.jpg", "Tags": "test", "VPath": "/Content/files/" },
{ "ID": 32, "SacategoryId": 1, "SaSubcategoryId": 35, "Name": "test", "Title": "test", "Thumbnail": "dogs_th.jpg", "Tags": "test", "VPath": "/Content/files/" },
{ "ID": 33, "SacategoryId": 1, "SaSubcategoryId": 35, "Name": "test2", "Title": "test", "Thumbnail": null, "Tags": null, "VPath": "/Content/files/" },] }
Regards,
Mark R