...
From the above code it's obvious that doing 2 DB queries isn't necessary because selected record count (0 or more) is enough to determine if there is enough data to be displayed.
Solution
- in in "
kDBList::GetSelectedCount
all"
add call to to "kDBList::Query"
method if list wasn't queried create (like it's done in "kDBList::GetRecordsCount
") - create "
kDBTagProcessor::SelectedRecords"
tag, that will call above method - add add "
selected"
type to "kDBTagProcessor::GridInfo"
tag to allow retrieval of selected record count
Related Tasks
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|