jquery-bracket
jquery-bracket copied to clipboard
Get teams that end up against
Hi Great job! This is the best. My main question is:
- 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:
- Is it possible to make winner of the team that has less points?
- If teams play best out of 3 games, is it possible to show all the 3 games?
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.
- 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.
- 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.
- 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").
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