Monday, December 14, 2015

Re: Django for Data Tables to group by when coloumn hidden

Thanks for your reply Carsten. I want to use javascript...I will try to put my question on data-tables as per your suggestion .

But thanks again for your reply :)


On Wednesday, December 9, 2015 at 10:07:16 AM UTC-5, Sid wrote:

Question: I have a Data table displaying on django , but now I like to group by when ever I will hide the column.


column1 column2 column3

AAA        CAD    25

AAA        USD    12

BBB        CAD    13

BBB        USD    16

CCC        CAD    11

CCC        USD    18


The above table will be displayed on web page using Django, now when ever I hide column2 It should group by and display like below table.


column1 column3

AAA                  37

BBB                  29

CCC                  39


when ever I unhide it again it should display same as first table again.

can anyone tell me there is any possible way to do it.


Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/af456df2-a0c7-4904-84b5-2dc03d4a432b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment