I have text.mxml component. that is showing me the following:
<mxataGrid id="dgShowHistory" width="100%">
<mx:columns>
<mxataGridColumn headerText="ID"/>
<mxataGridColumn headerText="Case Number"/>
<mxataGridColumn headerText="Group Number"/>
<mxataGridColumn headerText="Case Name"/>
<mxataGridColumn headerText="Status"/>
</mx:columns>
</mxataGrid>
Now the in the Case Number column I want to add a link to SearchCaseNumber.mxml...
So lets say the Case Number has the following:
Case Number
1234
1235
1236
I want these to be highlighted as link and when I click on these It takes me to the SearchCaseNumber.mxml put the 1234 automatically in search and if possible populate all the fields based on this.
In SearchCaseNumber.mxml
<mx:TextInput id="CaseSearch" width="81"/>
<mxataGrid id="dgShowHistory" width="100%">
<mx:columns>
<mxataGridColumn headerText="ID"/>
<mxataGridColumn headerText="Case Number"/>
<mxataGridColumn headerText="Group Number"/>
<mxataGridColumn headerText="Case Name"/>
<mxataGridColumn headerText="Status"/>
</mx:columns>
</mxataGrid>
Now the in the Case Number column I want to add a link to SearchCaseNumber.mxml...
So lets say the Case Number has the following:
Case Number
1234
1235
1236
I want these to be highlighted as link and when I click on these It takes me to the SearchCaseNumber.mxml put the 1234 automatically in search and if possible populate all the fields based on this.
In SearchCaseNumber.mxml
<mx:TextInput id="CaseSearch" width="81"/>