Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IwGrid + HTML Template + Async event = Position Problem
#3
This one is simple... You need a container for your IWGrid (the same is true for other controls as well) that will be rendered in async mode.

In your template your IWGrid is parented to the BODY of the HTML page. So, when the grid is re-rendered in async mode it's just added to the body, however, once there is no parent element (a DIV, for instance) it will be displayed at the bottom of the page.

To fix that, just add a <div> element as the grid container. Example:

<div id=gridContainer>
{%IWGRID1%}
</div>

Please, see the attached project. 

It will work as expected.

Cheers,


Attached Files
.zip   TestGrid2.zip (Size: 53.52 KB / Downloads: 7)
Reply


Messages In This Thread
RE: IwGrid + HTML Template + Async event = Position Problem - by Alexandre Machado - 09-28-2021, 09:08 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)