The plugin returns the following methods:
With this main methods you determine the appearance of the plugin from outside. Other methods will be available by connecting the plugin by Ajax with a dataset.
Have a look to the button "More", .js_mybtn. In the parent ".js_rec_record" the dataset "rec_index" is assigend to the variable index. With the function getData()[index] you get acces to the properties of the record; example for text1:
You need a key column to get access the lines from outside