Re: Editable Tables

2012-09-05 Thread Sait Maraşlıoğlu
Thx for greata tutorial, Ive already seen mygrid :)
in my website I will use mainly grid, lots of them, so I was looking for a 
solution to create them automatically, like django do that in its admin 
page.
if I keep doing them manually all grid titles and column names, its almost 
impossible, its not OOP either. and most importantly, it will be impossible 
to maintain it.
Anyways, I will keep searching, if I bump into something, I will drop a 
line. 

On Wednesday, 5 September 2012 19:38:12 UTC+3, MattDale wrote:
>
> I used this tutorial to get me going with the dhtmlx grid.   
> http://www.rkblog.rk.edu.pl/w/p/using-dhtmlxgrid-django-application/ 
> it's easy once you get the hang of it to make custom grids for each view, 
> but not as cut and dry as it seems you are looking for. 
>
> On Wednesday, September 5, 2012 4:27:39 AM UTC-4, Sait Maraşlıoğlu wrote:
>>
>> This is an example how to create and modify admin listing page: This 
>> explains better
>>
>> class BookAdmin(admin.ModelAdmin):
>> list_display = ('title', 'publisher', 'publication_date')
>> list_filter = ('publication_date',)
>> date_hierarchy = 'publication_date'
>> ordering = ('-publication_date',)
>> filter_horizontal = ('authors',)
>> *raw_id_fields = ('publisher',)
>>
>> Lets say , I want to use this kind of command for my frond-end, django 
>> handle the search fields and listing parameters.
>> only with my own table model, lets say its DHTMLX . at the end, I will have 
>> my view, generated with search options and
>> a few buttons to search,view,edit...
>> is it possible, not required to be ready to use, I just looking for a way to 
>> achieve it.
>>
>> thx again.
>> *
>>
>>
>>
>>
>> On Sunday, 2 September 2012 00:58:25 UTC+3, Sait Maraşlıoğlu wrote:
>>>
>>> Just seen a demo page
>>> http://nextgensim.info/grids
>>> so beautiful grids,
>>> lift framework can do that, I guess, havent dig much but as far as I 
>>> seen, its an alternative framework.
>>> Can anybody tell me how to create this kind of interactive tables? What 
>>> django has to offer, if not What keywords, I need to search?
>>> thx
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/8FG163jVqosJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Editable Tables

2012-09-05 Thread MattDale
I used this tutorial to get me going with the dhtmlx grid.   
http://www.rkblog.rk.edu.pl/w/p/using-dhtmlxgrid-django-application/ 
it's easy once you get the hang of it to make custom grids for each view, 
but not as cut and dry as it seems you are looking for. 

On Wednesday, September 5, 2012 4:27:39 AM UTC-4, Sait Maraşlıoğlu wrote:
>
> This is an example how to create and modify admin listing page: This 
> explains better
>
> class BookAdmin(admin.ModelAdmin):
> list_display = ('title', 'publisher', 'publication_date')
> list_filter = ('publication_date',)
> date_hierarchy = 'publication_date'
> ordering = ('-publication_date',)
> filter_horizontal = ('authors',)
> *raw_id_fields = ('publisher',)
>
> Lets say , I want to use this kind of command for my frond-end, django handle 
> the search fields and listing parameters.
> only with my own table model, lets say its DHTMLX . at the end, I will have 
> my view, generated with search options and
> a few buttons to search,view,edit...
> is it possible, not required to be ready to use, I just looking for a way to 
> achieve it.
>
> thx again.
> *
>
>
>
>
> On Sunday, 2 September 2012 00:58:25 UTC+3, Sait Maraşlıoğlu wrote:
>>
>> Just seen a demo page
>> http://nextgensim.info/grids
>> so beautiful grids,
>> lift framework can do that, I guess, havent dig much but as far as I 
>> seen, its an alternative framework.
>> Can anybody tell me how to create this kind of interactive tables? What 
>> django has to offer, if not What keywords, I need to search?
>> thx
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/13Gt-IywCh0J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Editable Tables

2012-09-05 Thread Sait Maraşlıoğlu
This is an example how to create and modify admin listing page: This 
explains better

class BookAdmin(admin.ModelAdmin):
list_display = ('title', 'publisher', 'publication_date')
list_filter = ('publication_date',)
date_hierarchy = 'publication_date'
ordering = ('-publication_date',)
filter_horizontal = ('authors',)
*raw_id_fields = ('publisher',)

Lets say , I want to use this kind of command for my frond-end, django handle 
the search fields and listing parameters.
only with my own table model, lets say its DHTMLX . at the end, I will have my 
view, generated with search options and
a few buttons to search,view,edit...
is it possible, not required to be ready to use, I just looking for a way to 
achieve it.

thx again.
*




On Sunday, 2 September 2012 00:58:25 UTC+3, Sait Maraşlıoğlu wrote:
>
> Just seen a demo page
> http://nextgensim.info/grids
> so beautiful grids,
> lift framework can do that, I guess, havent dig much but as far as I seen, 
> its an alternative framework.
> Can anybody tell me how to create this kind of interactive tables? What 
> django has to offer, if not What keywords, I need to search?
> thx
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/VFARDxGVcw8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Editable Tables

2012-09-05 Thread Sait Maraşlıoğlu
DHTMLX  is looking great, I hope I can integrate it to my website.
Actually I was looking for a way to make it modular, let me explain.

Say, we have a modal named books, and it has fields, named 
'name,pages,author' . 
using a generic view or something, it will display a table vith its field 
types derived from my model and using a search box , and generated form. u 
can search your books. 
it should be modular so u shouldnt have same hassle to list and search ur 
other models.

it maybe possible, Django do that in its admin page, u can declare the 
search fields and the fields u can show in the listing page. its similar.

is it a dream? was this second version of I have a dream speech?
thx


On Sunday, 2 September 2012 00:58:25 UTC+3, Sait Maraşlıoğlu wrote:
>
> Just seen a demo page
> http://nextgensim.info/grids
> so beautiful grids,
> lift framework can do that, I guess, havent dig much but as far as I seen, 
> its an alternative framework.
> Can anybody tell me how to create this kind of interactive tables? What 
> django has to offer, if not What keywords, I need to search?
> thx
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/GQ8u6yylta8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Editable Tables

2012-09-04 Thread m1chael
clever!!

On Mon, Sep 3, 2012 at 8:20 AM, zayatzz  wrote:

> For this kind of thing django has forms and formsets. I would think that
> this can be achieved quite easyly by using formsets. What you can do  - you
> can write your own widgets for this kind of table. Like widget that renders
> value
> not just input. and then just use your javascript to bind click event to
> td.span which hides span and makes input visible on click. quite easy even.
> At save it saves everything and voila - you have editable table.
>
> everything else is just browser side scripting.
>
> thats how i would do it anyway :)
>
> Alan
>
>
> On Sunday, September 2, 2012 10:13:17 PM UTC+3, Sait Maraşlıoğlu wrote:
>>
>> Just need to display tables, but it has to be modular.
>> Lets say I have a facebook like site, and my user has 5 friends. How I
>> can display those 5 and let user edit it, lets say, edit their nicknames
>> and this changes affect the database?
>>
>> On Sunday, 2 September 2012 00:58:25 UTC+3, Sait Maraşlıoğlu wrote:
>>>
>>> Just seen a demo page
>>> http://nextgensim.info/grids
>>> so beautiful grids,
>>> lift framework can do that, I guess, havent dig much but as far as I
>>> seen, its an alternative framework.
>>> Can anybody tell me how to create this kind of interactive tables? What
>>> django has to offer, if not What keywords, I need to search?
>>> thx
>>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/au7eeELCSVoJ.
>
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Editable Tables

2012-09-04 Thread MattDale
Try DHTMLX Grid.  I use it solely for the editable grid feature. It took a 
little while to style it so it fits with my site, but as far as simple AJAX 
editable grids, I couldn't find an better one.

On Saturday, September 1, 2012 5:58:25 PM UTC-4, Sait Maraşlıoğlu wrote:
>
> Just seen a demo page
> http://nextgensim.info/grids
> so beautiful grids,
> lift framework can do that, I guess, havent dig much but as far as I seen, 
> its an alternative framework.
> Can anybody tell me how to create this kind of interactive tables? What 
> django has to offer, if not What keywords, I need to search?
> thx
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/T-kwZS0sC80J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Editable Tables

2012-09-03 Thread Julio Ona
Sait,

yo can look to: etchjs.com

Regards,

On Mon, Sep 3, 2012 at 8:20 AM, zayatzz  wrote:

> For this kind of thing django has forms and formsets. I would think that
> this can be achieved quite easyly by using formsets. What you can do  - you
> can write your own widgets for this kind of table. Like widget that renders
> value
> not just input. and then just use your javascript to bind click event to
> td.span which hides span and makes input visible on click. quite easy even.
> At save it saves everything and voila - you have editable table.
>
> everything else is just browser side scripting.
>
> thats how i would do it anyway :)
>
> Alan
>
>
> On Sunday, September 2, 2012 10:13:17 PM UTC+3, Sait Maraşlıoğlu wrote:
>>
>> Just need to display tables, but it has to be modular.
>> Lets say I have a facebook like site, and my user has 5 friends. How I
>> can display those 5 and let user edit it, lets say, edit their nicknames
>> and this changes affect the database?
>>
>> On Sunday, 2 September 2012 00:58:25 UTC+3, Sait Maraşlıoğlu wrote:
>>>
>>> Just seen a demo page
>>> http://nextgensim.info/grids
>>> so beautiful grids,
>>> lift framework can do that, I guess, havent dig much but as far as I
>>> seen, its an alternative framework.
>>> Can anybody tell me how to create this kind of interactive tables? What
>>> django has to offer, if not What keywords, I need to search?
>>> thx
>>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/au7eeELCSVoJ.
>
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
Julio Ona

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Editable Tables

2012-09-03 Thread zayatzz
For this kind of thing django has forms and formsets. I would think that 
this can be achieved quite easyly by using formsets. What you can do  - you 
can write your own widgets for this kind of table. Like widget that renders 
value 
not just input. and then just use your javascript to bind click event to 
td.span which hides span and makes input visible on click. quite easy even. 
At save it saves everything and voila - you have editable table.

everything else is just browser side scripting.

thats how i would do it anyway :)

Alan

On Sunday, September 2, 2012 10:13:17 PM UTC+3, Sait Maraşlıoğlu wrote:
>
> Just need to display tables, but it has to be modular.
> Lets say I have a facebook like site, and my user has 5 friends. How I can 
> display those 5 and let user edit it, lets say, edit their nicknames and 
> this changes affect the database?
>
> On Sunday, 2 September 2012 00:58:25 UTC+3, Sait Maraşlıoğlu wrote:
>>
>> Just seen a demo page
>> http://nextgensim.info/grids
>> so beautiful grids,
>> lift framework can do that, I guess, havent dig much but as far as I 
>> seen, its an alternative framework.
>> Can anybody tell me how to create this kind of interactive tables? What 
>> django has to offer, if not What keywords, I need to search?
>> thx
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/au7eeELCSVoJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Editable Tables

2012-09-02 Thread Sait Maraşlıoğlu
Just need to display tables, but it has to be modular.
Lets say I have a facebook like site, and my user has 5 friends. How I can 
display those 5 and let user edit it, lets say, edit their nicknames and 
this changes affect the database?

On Sunday, 2 September 2012 00:58:25 UTC+3, Sait Maraşlıoğlu wrote:
>
> Just seen a demo page
> http://nextgensim.info/grids
> so beautiful grids,
> lift framework can do that, I guess, havent dig much but as far as I seen, 
> its an alternative framework.
> Can anybody tell me how to create this kind of interactive tables? What 
> django has to offer, if not What keywords, I need to search?
> thx
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/dmCb4iyPlVsJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Editable Tables

2012-09-01 Thread Sait Maraşlıoğlu
Just seen a demo page
http://nextgensim.info/grids
so beautiful grids,
lift framework can do that, I guess, havent dig much but as far as I seen, 
its an alternative framework.
Can anybody tell me how to create this kind of interactive tables? What 
django has to offer, if not What keywords, I need to search?
thx

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/ryukcNt0x2wJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.