jquery-bracket icon indicating copy to clipboard operation
jquery-bracket copied to clipboard

Get teams that end up against

Open pinq- opened this issue 7 years ago • 2 comments

Hi Great job! This is the best. My main question is:

  1. When teams move to the next round, is it possible to get those teams names, how end up against each other and I will get the results of that match and update results data. I understand that this is possible with “save” method, but I don’t find a method to get teams that end up against. Other questions that I can work around, but would be cool if there are solutions for these:
  2. Is it possible to make winner of the team that has less points?
  3. If teams play best out of 3 games, is it possible to show all the 3 games?

pinq- avatar Feb 23 '18 08:02 pinq-

Hi, great to hear you've found it useful!

Answer to all three of the questions is unfortunately that there is no built-in capability.

  1. you would need to implement your own function that could calculate and return the match information of a specific round based on the result object.
  2. you could modify the code or enhance the API by passing a function that determines from given scores which team should propagate. This should be fairly straightforward to do.
  3. you'd need to be able to have more complicated results for matches than just numbers. These result objects would then need to be passed to your custom rendering function (both "edit" and "view").

teijo avatar Feb 25 '18 03:02 teijo

Hi, did you implement the feature, to get information of teams that end up against?. Kindly help me, I also need this feature. Thank you

riyazpt avatar Jan 26 '23 10:01 riyazpt