Category : datatables

I am trying to get the data elements of class td from my table, but my code consistently is only capable of pulling the rows from the thead. If I add find_element_by_tag_name("tbody"), then I get the classic Message: no such element: Unable to locate element…. Any tips? Source Code: from https://shinyapps.asee.org/apps/Profiles/ <table class="cell-border stripe compact ..

Read more

I am using DRF-DataTables to create a browsable table on the client side. The model I am working with contains some nullable boolean fields like so: models.py class Record(…): name = models.CharField(…, blank=True, null=True) is_active = models.BooleanField(blank=True, null=True) The table is rendered with serverside=true, however there is some unwanted behavior when trying to filter on ..

Read more

I’m trying to scrape a website that contains information in a table. The tricky party is that within the table I found by inspecting the page, some of the information I want to scrape looks like it’s being imported from another URL. Simply put, I’m scraping a table from a URL (let’s call it URL ..

Read more

I’ve built an Flask app which is already working, however there’s an issue with retrieving the correct data from my forms. I’m displaying tables using Datatables jquery for pagination, filtering and ordering (this works correctly) and each row contain forms for selection. If I select some rows without reordering or filtering everything works correctly, however, ..

Read more

I’m new in Django framework and I’m trying to implement datatable into my project. I read the documentation of Django and Datatables and implemented exactly as stated, but somehow the datatable does not showing in the template and I don’t know why. home.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" ..

Read more