Upvote 1

I have an issue with a hidden dynamic panel.

Answered Victor Conesa 9 years ago

What I am trying to achieve:


I want a hidden dynamic panel with a data grid in it to appear on screen, when I click a button that adds a data row into the data grid.


In order to ensure it is hidden when I load the page, I checked the 'Hide Component' box on the dynamic panel that contains the data grid.


However, when I click the button that adds the data into the grid (and refreshes it so the data appears immediately) the data grid disappears (when I want it to stay).


How should I resolve this?


Thanks

Replies (3)
photo
1

Ah, I have more information as to why this is not working.


The way I am refreshing the data in the data grid is by re-opening the entire page.


This of course triggers the 'Hide Component'.


Which means....I'm probably not refreshing the datagrid in the optimal way.


How should I refresh the data grid, immediately after adding a row into it?


Thanks

photo
1

Hi,


The best way to refresh the datagrid is by creating a 'Set value' event, that will place the datamaster on the datagrid


This tutorial help you: http://www.justinmind.com/support/add...


Best,


Lidia

photo
1

Thanks for your response - I've fixed this now.

Leave a Comment
 
Attach a file