Data Grid Row Template Button Problem
Posted: Wed Jan 29, 2014 8:41 pm
I've three questions after a project with data grids. Could anyone enlighten me? (Win7, LC6.5.1)
1) Somewhere during programming several data grid tables and forms, the property inspector's "Row Template" button starts going to the most recent substack card, not the appropriate card for the dg. I must navigate to the appropriate card. The "Row Behavior" button always works properly. The data grid works properly. I can't reproduce this in a clean stack. Where did I go wrong? Can the "Row Template" button be coaxed to go to the appropriate substack card?
2) The first data grid dragged from the tools palette to a stack creates the dg substack with TWO cards, the second card has the row template group and behavior script for the dg, but the first card, always id 1002, has no row template group or behavior script. What is the purpose of the first card?
3) When deleting the last dg in a stack, the warning dialog's "Yes" option (to delete dg and its substack cd) doesn't delete anything. The "No" option (to delete dg but leave its substack cd) deletes the dg, its cd, and the substack. I would have expected this action from the "Yes" button, or better still no dialog at all since it's the last dg and everything should be deleted anyway. Am I mis-interpreting the dialog?
1) Somewhere during programming several data grid tables and forms, the property inspector's "Row Template" button starts going to the most recent substack card, not the appropriate card for the dg. I must navigate to the appropriate card. The "Row Behavior" button always works properly. The data grid works properly. I can't reproduce this in a clean stack. Where did I go wrong? Can the "Row Template" button be coaxed to go to the appropriate substack card?
2) The first data grid dragged from the tools palette to a stack creates the dg substack with TWO cards, the second card has the row template group and behavior script for the dg, but the first card, always id 1002, has no row template group or behavior script. What is the purpose of the first card?
3) When deleting the last dg in a stack, the warning dialog's "Yes" option (to delete dg and its substack cd) doesn't delete anything. The "No" option (to delete dg but leave its substack cd) deletes the dg, its cd, and the substack. I would have expected this action from the "Yes" button, or better still no dialog at all since it's the last dg and everything should be deleted anyway. Am I mis-interpreting the dialog?