Ruby on Rails and DataTables plug-in. Ajax-sourced tables
01-Oct-2019 1545
If we talk about sending some asynchronous requests with Ajax, naturally we’ll need some API endpoint which would return us the dataset that we, in turn, will use for populating our table. But since I don’t feel like creating the whole REST API project for one single endpoint, I’m sure we’ll be fine with just a regular controller action rendering some JSON.Next problem is a dataset. Apparently, we need some data to put into the table, right? Luckily a co-worker of mine came across a nice public dataset of South Park script lines along with seasons, episodes and characters. And I thought if it won’t help us, then what will?.
Ruby on Rails and DataTables plug-in. Ajax-sourced tables #ruby #rubydeveloper #rubyonrails #Rails #DataTables #plug-in. #Ajax-sourced #tables https://rubyonrails.ba/link/ruby-on-rails-and-datatables-plug-in-ajax-sourced-tables