Telegram_2020-07-02T14

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2020 > 07 > 02 >

Telegram_2020-07-02T14

Telegram link

 

2020-07-02T14:19:31

 

I see

 


 

Telegram link

 

2020-07-02T14:33:56

 

In your IWGrid, CellRenderOptions, mark all to False;

 


 

Telegram link

 

2020-07-02T14:34:19

 

Let template do it for you

 


 

Telegram link

 

2020-07-02T14:41:42

 

I just copied your IWGrid with all its settings and as you might notice before rendering data the grid is formatted ok but only when I fill it with data from a ComboBox then it clears the format from the template and I am suspecting the IWGrid.clear that is included in my function that is rendering data

 


 

Telegram link

 

2020-07-02T14:43:05

 

After you render the DATA, you can RUN command datatable again?

 


 

Telegram link

 

2020-07-02T14:43:15

 

is Async?

 


 

Telegram link

 

2020-07-02T14:48:20

 

It is Async and command DataTable is part of Template exactly the way you have implemented in your demo

 


 

Telegram link

 

2020-07-02T14:49:51

 

Ok, but Datatable occur after all the data is fully in html. After you CLEAR tha data and refull again, you need to DataTable() again.

 


 

Telegram link

 

2020-07-02T14:51:25

 

It's simply, put in your delphi after fully table again:

 

type: pre WebApplication.CallBackResponse.AddJavaScriptToExecuteAsCDATA(

 

'$(\#TBLIWGRID1\).DataTable();'

 

); language:

 


 

Telegram link

 

2020-07-02T14:52:00

 

Ok I will try shortly thanks

 


 

Telegram link

 

2020-07-02T14:55:05

 

Another idea is readjust datatable:

 

type: code $(\#TBLIWGRID1\).DataTable().columns.adjust().draw();