Author Topic: Selecting item from Item view list  (Read 14918 times)

DQ

  • Jr. Member
  • **
  • Posts: 82
Selecting item from Item view list
« on: November 26, 2013, 05:41:45 pm »
I need help.  My employees are complaining that  if item A is selected and if they select item B, it selects both items instead of deselecting item A.
I know this is a feature which allows to cancel/modify multiple items at one time but would like to implement this.

What is the best way  to implement this?

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: Selecting item from Item view list
« Reply #1 on: November 26, 2013, 06:20:18 pm »
TicketViewModel class has a boolean property named as "ClearSelection" . When enabled it selects only clicked items. Additionally you need to find the part where ClearSelection = false and make it true again after it toggles selection.

But I don't recommend it because you won't be able to split tickets too.

DQ

  • Jr. Member
  • **
  • Posts: 82
Re: Selecting item from Item view list
« Reply #2 on: November 26, 2013, 08:59:40 pm »
I did not find "ClearSelection" flag. I am using 2.99c code base.