2 Replies Latest reply on Aug 19, 2008 5:13 AM by ac361

    Show record detail from Flex Grid

    ac361 Level 1
      Hi. I've got some data coming in from a SQL Server db that will look identical in the Flex Grid for employees and students; there's a column called "Role" that indicates if they're employee or student. However, when the user clicks one of the results, the details shown will be different based on that Role; for example, for employees, I'll show their department, division, and web page; for students, I'll show their P.O. Box number.

      How can I do this conditional details display? I've looked at the example here http://flexapps.macromedia.com/flex15/explorer/explorer.mxml?versionChecked=true

      but it doesn't differentiate between the type of the record whose details are being viewed. Thanks for your help.