Re: getting info from a Data Grid - which out of three methods is best?

2010-04-09 Thread Josh Mellicker
Thanks!!! On Apr 8, 2010, at 6:31 AM, Trevor DeVore wrote: On Apr 7, 2010, at 5:03 PM, Josh Mellicker wrote: Would you: 1. scan the grid line by line, trying for a value match with data grid commands? 2. get the dgData and loop through the array? 3. get the dgText and loop through

Re: getting info from a Data Grid - which out of three methods is best?

2010-04-08 Thread Trevor DeVore
On Apr 7, 2010, at 5:03 PM, Josh Mellicker wrote: Would you: 1. scan the grid line by line, trying for a value match with data grid commands? 2. get the dgData and loop through the array? 3. get the dgText and loop through the tab delimited data? (NOTE: We can't really depend on the

getting info from a Data Grid - which out of three methods is best?

2010-04-07 Thread Josh Mellicker
Imagine you have a Data Grid with data (perhaps 30 - 50 lines). Now, you want to find all lines where 3 certain columns match given values. Example: you want to find all lines where columnName firstName = Trevor, food = salad, and meal = lunch. Would you: 1. scan the grid line by line,

Re: getting info from a Data Grid - which out of three methods is best?

2010-04-07 Thread Jim Sims
On Apr 7, 2010, at 11:03 PM, Josh Mellicker wrote: Imagine you have a Data Grid with data (perhaps 30 - 50 lines). Now, you want to find all lines where 3 certain columns match given values. Example: you want to find all lines where columnName firstName = Trevor, food = salad, and meal =