AnsweredAssumed Answered

Custom dashlet 7.8 with partial render

Question asked by Rodrigo Silva on May 19, 2017

Hi,

 

I'm building a custom dashlet and need help about the render process, below the elements i've used:

 

- list view (table)

- filter form

- sort for every column

- pagination control

 

 

The dashlet is working as expected except i lose the focus from my input elements on every render (render is called on every change from my filter form, sort and pagination buttons), making impossible to use TAB key to focus next field.

 

How can i prevent my filter form to be re-created on render call? i read something about use a subview from backbone but i dont know how to accomplish it inside sugarcrm.

 

Thanks!!

Outcomes