title: Thymeleaf table update without page reload
body: <p>I am rendering datawith thymeleaf attribute. But i am implementing "Search" button now, and want to do it without reload.</p>
  
  <p>I have attribute <code>depatments</code> which render <code>List&lt;Department&gt;</code> from db
  I know, how to do it via <strong>ajax</strong>, but then i need to replace attribute with RestController, who will give me JSON.
  Is it posible to fetch data from attribute without reloading page? Ajax, or js, or something else?
  Thanks</p>