title: buefy table get data of clicked row
body: <p>Below is my code:</p>
  <pre><code>&lt;b-table :data=&quot;sortTeachersAndPoints(topTeachers)&quot; :columns=&quot;topTeachersColumns&quot; :mobile-cards=&quot;false&quot; @click=&quot;clickTeacher(data)&quot;&gt;&lt;/b-table&gt;
  </code></pre>
  <p>Everything above works good except the <code>clickTeacher(data)</code> part. What I'm trying to do is pass the selected row's data to <code>clickTeacher</code> but (understandably), I got this error <code>Property or method &quot;data&quot; is not defined on the instance</code> when clicking any row.</p>
  <p>So actually what should I write to pass the selected row's data to <code>clickTeacher</code>?</p>