mateuszmarkowski / jQuery-Seat-Charts

jQuery Seat Charts Plugin
MIT License
596 stars 209 forks source link

expose/access position #11

Closed eleumik closed 9 years ago

eleumik commented 9 years ago

Hi, thanks for this nice piece of software, super accessible !

is there any way to get the position (row, column) of a cell ?

I did some changes for reading it but maybe it was already there ? Otherwise I could do a pull request with the changes.

Thanks Michele

mateuszmarkowski commented 9 years ago

Hi Michele, I'm glad you like it.

Row and column information is exposed in the settings object:

$('#seat-map').seatCharts().get('3_5').settings.row
$('#seat-map').seatCharts().get('3_5').settings.column
eleumik commented 9 years ago

Thank you !