The attribute table is a tough nut to crack.
I created a duplicated attribute table, so when I perform a query it will show only the results of the query.
However, when you zoom in/out, the attribute table is updated to include any visible features that are not part of the query.
So, my goal is to develop a way to disable the updating process when you zoom in/out and have this duplicate table post only query results.
The attributetable has a property called updateEnabled but it didn't work. I think the process that updates the table must be buried in the API.
So, I am in the process to create an alternate process that is not very practical.
In the init of the attribute table, I set a boonlean variable that is by default to false. If it is false, then it should exit the init and terminate further process.
The query process that it is originated from another widget sends a the boonlean variable (widget communication - Thanks Robert) to the attribute table as true and it opens the attribute table with the query results.
If you zoom in/out that boonlean variable will be false it will not alter the table.
So, here are my two questions.
Is there an easier way to disable the updating the table when you zoom in out?
If not, how can you exit the widget in runtime? If in the init of the attribute table the boonlean is false, how can it exit the widget.When I use vb.net it was easy to do so, but how it's done in flex?
Thank you.
I created a duplicated attribute table, so when I perform a query it will show only the results of the query.
However, when you zoom in/out, the attribute table is updated to include any visible features that are not part of the query.
So, my goal is to develop a way to disable the updating process when you zoom in/out and have this duplicate table post only query results.
The attributetable has a property called updateEnabled but it didn't work. I think the process that updates the table must be buried in the API.
So, I am in the process to create an alternate process that is not very practical.
In the init of the attribute table, I set a boonlean variable that is by default to false. If it is false, then it should exit the init and terminate further process.
The query process that it is originated from another widget sends a the boonlean variable (widget communication - Thanks Robert) to the attribute table as true and it opens the attribute table with the query results.
If you zoom in/out that boonlean variable will be false it will not alter the table.
So, here are my two questions.
Is there an easier way to disable the updating the table when you zoom in out?
If not, how can you exit the widget in runtime? If in the init of the attribute table the boonlean is false, how can it exit the widget.When I use vb.net it was easy to do so, but how it's done in flex?
Thank you.