you can use grouping on localityid and check the group property to new page after
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)