Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Controller/ Model/ Observe pagination events

$
0
0
I think this snippet is a old one as the new document suggest the can.Map using the same 

I have a template in ejs say 
<%= title %><select>sort</select>
<table></table>
<a>next</a><a>prev</a>pagecount<select>perpage</select>

My json is
{
"a": [
{ "id":1,"sortCater":"1"},..........
]
}

Here there are two select tag at the top the sort which i wanna use for sorting it depending upon the sortcater id and the below one is the per page.

I was thinking seperate ejs file for each of the above template>

Can Any one help on how to approach on this as the document is insufficient and examples I saw are more towards mustache and seems its easy with mustache but Iwanna do it using ejs. 

Viewing all articles
Browse latest Browse all 3491

Trending Articles