User281315223 posted
I developed this screen using asp.net and c# with foreach loops, if modules and products are increasing then page is taking more than 10 minutes to load the screen.
It's very likely that you could optimize this, it may be worth sharing the code.
Please help me how to implement this below screen using Jquery with json data.
Imaging that you'd be outputting a table and have a JSON object, I'll assume you have a series of rows and columns. As you are outputting each row, you'll need to determine which of the items on your legend that you wish to assign to the given cell before
it's pushed out. If you are going to be generating everything, then you just need to think about things as a doubly-nested loop, which will go over each row and column individually.
As it passes one, check the value and assign a CSS class to that cell (e.g. <td> element) that will handle coloring your cells appropriately.