CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Create column after filter

by feland » 09 Nov 2018 16:11

Hi,
is it possible into a JQGRID show a column after selected a certain type of filter and hide it when the filter was removed?

In the example I selected a filter into the column "EsitoPA". When the filter is equal to "MANCATA CONSEGNA" I need to show the column "Reinvia".
If i Inserted the instruction "JQGrid.JQGridColumns.ItemsByName['Reinvia'].Hidden := false" in the event "OnSearchSQL" of the DatasetProvider (where I check the filtered value) and I Call the function RenderRegionAsync(JQGrid,false,true) for refresh the grid I see the following error:
Method "RenderRegionAsync" it''s only allowed in Ajax Processing!


On attachment I send you the state of the JQGrid before the filter and after the filter.

Can you help me?

Best Regards,
Feland
You do not have the required permissions to view the files attached to this post.
feland
 
Posts: 89
Joined: 15 Jun 2015 15:12

Return to JQGrid

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.