Dear all,

When a form is re-opened, formspider automatically restores the grid state and do not call my panel's post_init procedure. This is a very good feature as the screen opens faster.

However, I have the same form opening repeatedly with different but similar tables. Based on the table, I need to redesign the screen based on an internal setup data. Therefore, I need to disable the automatic restoration of the previously opened screen so that my pos_init procedure is called every time the form opens.

Further, in some cases the same screen need to be re-opened as a separate type. In each type, the columns displayed/enabled etc. are different. This is another reason why I need to disable this facility in some cases.

Or still, a better option is to provide an additional postinitialize event that will be called at every opening of the panel.

Kindly let me know how can I do the same.

With regards.

George.

asked 08 Apr '14, 11:16

grajan777's gravatar image

grajan777
1011234
accept rate: 10%

edited 08 Apr '14, 11:29


Hi George,

It's not possible to disable this feature. To achieve you request, you need to implement a custom procedure which resets your panel to an initial state and call this procedure every time before your panel is reopened. Then, you can call the procedure which redesigns the screen based the internal setup data.

Regards,
Ibrahim

link

answered 24 Apr '14, 15:16

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×85
×3

Asked: 08 Apr '14, 11:16

Seen: 799 times

Last updated: 24 Apr '14, 15:16


© Copyright Gerger 2017