Re: django-tables2 and javascript

2017-07-05 Thread yingi keme
Thanks James. Yingi Kem > On 4 Jul 2017, at 11:55 PM, James Schneider <jrschneide...@gmail.com> wrote: > > > > On Jul 4, 2017 1:31 PM, "yingi keme" <yingik...@gmail.com> wrote: > I want to know. How do you access a table generated by django-tables2

Re: django-tables2 and javascript

2017-07-05 Thread yingi keme
Thanks... Yingi Kem > On 4 Jul 2017, at 9:45 PM, Владислав Котвицкий <photocriti...@gmail.com> > wrote: > > Sorry, i dont know django-tables2, but i try use DOJO framework DataGrid and > this framework have all mechanism > > вторник, 4 июля 2017 г., 23:31:04 UT

Re: django-tables2 and javascript

2017-07-04 Thread James Schneider
On Jul 4, 2017 1:31 PM, "yingi keme" <yingik...@gmail.com> wrote: I want to know. How do you access a table generated by django-tables2 in your client side using javascript? Does django-tables2 provide a mechanism to access table contents via client side.? A traditional html ta

Re: django-tables2 and javascript

2017-07-04 Thread Владислав Котвицкий
Sorry, i dont know django-tables2, but i try use DOJO framework DataGrid and this framework have all mechanism вторник, 4 июля 2017 г., 23:31:04 UTC+3 пользователь yingi keme написал: > > I want to know. How do you access a table generated by django-tables2 in > your client s

django-tables2 and javascript

2017-07-04 Thread yingi keme
I want to know. How do you access a table generated by django-tables2 in your client side using javascript? Does django-tables2 provide a mechanism to access table contents via client side.? A traditional html tags do have an id or a classname for access purpose. How will you do

Adding Checkbox to django-tables2 - Key Error

2016-11-08 Thread Thorsten Grahl
Hi, Django noob here, am stuck and can not find an example to help me past my error. Using the tutorial (https://django-tables2.readthedocs.io/en/latest/pages/tutorial.html) have managed to display the table. Could now like to add a checkbox to each row, so the user can select multiple rows

In django-tables2 how do I paginate from the database

2014-11-02 Thread Néstor Boscán
Hi Can django-tables2 paginate at the database level using SQL OFFSET AND LIMIT?. I have a table that has millions of rows and it doesn't make any sense to load them in memory to show only the first 10 rows. Regards, Néstor -- You received this message because you are subscribed

Re: Change color of table cell based in another cell value django-tables2

2014-08-21 Thread Mario Gudelj
I have never used "django-tables2" package but traditionally you'd do something like class="color_{{item.reception_status}}" which will render class="color_3" or class="color_1" and then use CSS to style it. What does cell rend

Change color of table cell based in another cell value django-tables2

2014-08-21 Thread Jose Elvir
I have a html table (django-tables2) based on a model class MasterTable(tables.Table): class Meta: model = Master fields = ("name","reception_date","reception_status","amount_files") I need to change the color of some cell based in

django-tables2 - Mix queryset and non-queryset data in table

2014-04-14 Thread Max Demars
Hi! I would like to create a table via the Table.Meta.model with some columns that are non-queryset data. I manage to populate those columns manually in the view (see below), but it's impossible to sort the table with those columns: Cannot resolve keyword u'name' into field. What is the

Re: Combining django-tables2 with django-filter info ListView?

2014-01-20 Thread Sapana Kaswa-Surpuriya
Were you able to implement it? Could you help me? On Thursday, August 9, 2012 3:47:56 PM UTC-5, Paul wrote: > > I have a listview using the generic class based ListView. I have > get_queryset overloaded in my view: > > class WebsiteList(ListView): > model = Website > def

RES: Django-tables2

2012-08-24 Thread MattDale
If you make that column a regular Column does it render properly? If not then confirm that you define the column exactly as it is spelled in your models.py(case and all). Once it renders properly as a regular Column, then try changing to a LinkColumn. -- You received this message because you

RES: Django-tables2

2012-08-24 Thread Roberto Ferreira Junior
Enviada em: sexta-feira, 24 de agosto de 2012 09:15 Para: django-users@googlegroups.com Assunto: Re: Django-tables2 Here's an example of one of my tables. class NeedsTable(tables.Table): needQuantity = tables.Column() prod_id = tables.Column() description = tables.LinkColumn

Re: Django-tables2

2012-08-24 Thread MattDale
with the TemplateColumn. To me it seems like you need to create two link columns. Good Luck On Thursday, August 23, 2012 1:28:01 PM UTC-4, Robert wrote: > > Hi All, > > > > I would like to ask something, I´m trying to render a table > using *Django-tables2 *and

Re: Django-tables2

2012-08-24 Thread MattDale
need any ajax features. Although I've lately been creating manual tables and using the "tablesorter.js" to handle quick sorting. On Friday, August 24, 2012 1:58:03 AM UTC-4, Alex Strickland wrote: > > On 2012/08/24 01:49 AM, MattDale wrote: > > > I love django-tables2

Re: Django-tables2

2012-08-23 Thread Alex Strickland
On 2012/08/24 01:49 AM, MattDale wrote: I love django-tables2! May I ask why? I'm not trolling, I'd like to know more about it. -- Regards Alex -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Django-tables2

2012-08-23 Thread MattDale
Your answer is LinkColumn instead of TemplateColumn. You can pass Args and kwargs with this in your table. I'll post an example of this when I get home. It's quite simple. I love django-tables2! -- You received this message because you are subscribed to the Google Groups "Django users&q

Django-tables2

2012-08-23 Thread Roberto Ferreira Junior
Hi All, I would like to ask something, I´m trying to render a table using Django-tables2 and that table has a link column that I want to link with another page, I cant figure out how can I link my model, and pass my PK to url.py. Here’s My code: ## Models.py

Combining django-tables2 with django-filter info ListView?

2012-08-09 Thread Paul
I have a listview using the generic class based ListView. I have get_queryset overloaded in my view: class WebsiteList(ListView): model = Website def get_queryset(self): return Website.objects.all() First step is to add the tables2 mixin as follows: class