atisthao
Member
Hi all,
my name is Oliver and I work with 9.1 / TR 9.2.3.5.
I have a really big problem with the record selection in the grid, multiple Selection is enabled, Find and browse.
For example, I show 100 Sales Orders with 10 different Customer numbers in the grid.
Now, my customer wants to click on a Grid column, for exampe, AN8, all referenced Sales Orders of this AN8 should be selected.
This is already done, event "Grid Cloumn is clicked" => max Grid records, a Loop through all records in the grid, when GC_AN8 = var_AN8 then Change the row selection and store this Character(0/1) in the Grid.
When the user clicked again on the same GC_AN8, I have to unselect all Sales Orders wih this customer number, when 1 => 0 and 0 => 1.
That's works fine.
But I have to support a multiple selection with more than one customer.
First click on AN8 = 15, mark 10 sales Orders with thsi referenced customer, works fine!!
Second click on AN8 = 48, now my problem is starting.
I saw in the debug mode, that the system deselect all selected rows with AN8 = 15, ????, in case of selecting AN8=48.
After "Deselection all" , the system only mark the selected record, and i have to reselect all "old marked" records with An8 = 15 and I have to mark all records with customer 48.
So I have to check, unselected records with Stored Character of selection before.
This works not really pefect, but it becomes really terrible, when the user use the check box on the row header for selection, because my event is not triggered in this case.
Does anybody have an idea, where i can suppress this funny "system behavior"??
Does anyone have experience with multiple selection on Grid column events?
Does anyone have a workaround for my problem?
desperate
Thx Oliver
my name is Oliver and I work with 9.1 / TR 9.2.3.5.
I have a really big problem with the record selection in the grid, multiple Selection is enabled, Find and browse.
For example, I show 100 Sales Orders with 10 different Customer numbers in the grid.
Now, my customer wants to click on a Grid column, for exampe, AN8, all referenced Sales Orders of this AN8 should be selected.
This is already done, event "Grid Cloumn is clicked" => max Grid records, a Loop through all records in the grid, when GC_AN8 = var_AN8 then Change the row selection and store this Character(0/1) in the Grid.
When the user clicked again on the same GC_AN8, I have to unselect all Sales Orders wih this customer number, when 1 => 0 and 0 => 1.
That's works fine.
But I have to support a multiple selection with more than one customer.
First click on AN8 = 15, mark 10 sales Orders with thsi referenced customer, works fine!!
Second click on AN8 = 48, now my problem is starting.
I saw in the debug mode, that the system deselect all selected rows with AN8 = 15, ????, in case of selecting AN8=48.
After "Deselection all" , the system only mark the selected record, and i have to reselect all "old marked" records with An8 = 15 and I have to mark all records with customer 48.
So I have to check, unselected records with Stored Character of selection before.
This works not really pefect, but it becomes really terrible, when the user use the check box on the row header for selection, because my event is not triggered in this case.
Does anybody have an idea, where i can suppress this funny "system behavior"??
Does anyone have experience with multiple selection on Grid column events?
Does anyone have a workaround for my problem?
desperate
Thx Oliver