Images - Alternative to reduce JSON?
Images - Alternative to reduce JSON?
In a table I'm implementing I have two columns which contain small icons. The server side ajax file works out which image is to be used on each row and the html is included in the JSON returned to datatables to parse and render from.
To reduce the JSON data would I be better replacing the html with a number/code which datatables then replaces with the image as its rendering?
Would that be more efficient or not?
To reduce the JSON data would I be better replacing the html with a number/code which datatables then replaces with the image as its rendering?
Would that be more efficient or not?
This discussion has been closed.
Replies
Allan