KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Kixforms GridView : Discussion

 
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Thu Aug 12, 2004 6:30 pm    Post subject: Kixforms GridView : Discussion Reply with quote

Before I continuing working too much with GridView, thought I would solicit any feedback re: anything ... Was thinking about basing the GridView interface on the ListView object, keeping it kinda the same in terms of properties and methods ... could also think about basing it on some other interface (like 3rd party grids and even an Excel-type interface) ... if anyone has any thoughts or comments, about this or anything else related to GridView, please post here ...

-Shawn
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Thu Aug 12, 2004 6:52 pm    Post subject: Reply with quote

well, one could comment if one would know what gridview is about.
other than it is something about grids.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
krabourn
KiXforms Aficionado
KiXforms Aficionado


Joined: 05 Mar 2003
Posts: 273
Location: San Antonio. TX

PostPosted: Thu Aug 12, 2004 7:12 pm    Post subject: Reply with quote

It appears the GridView in .NET can only bind to a an object such as a DB. I hope you are not planning on making that way. I am not sure exactly which interface I would base it on, but I can tell you a few things I want.
    Icons/picture/checkboxes in any cell
    Edit individual cells
    Be able to determine the coordianate of the cell

_________________
Kelly
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Thu Aug 12, 2004 7:15 pm    Post subject: Reply with quote

The grid in dotnet sucks big time. No worries there.
Back to top
View user's profile Send private message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Fri Aug 13, 2004 6:17 am    Post subject: Reply with quote

Thank god for that Rolling Eyes

Well, apart from not knowing the big Picture too, I'd like to have it as costumizable as possible, so to say Wink
It is about time to have it, was a big pain to code the editable subitem in Listview ya know

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Fri Aug 13, 2004 1:18 pm    Post subject: Reply with quote

Here's what i was thinking ... basically use the good-olde "spreadsheet-mental-model" that everyone uses, so psuedo-code-wise would look something like this:

$GridView = $Form.GridView()

$GridView.Columns.Count = 2

$GridView.Columns(0).Text = "Name"
$GridView.Columns(0).Width = 100

$GridView.Columns(1).Text = "Address"
$GridView.Columns(1).Width = 100

$GridView.Rows.Count = 2

$GridView.Cells(0,0).Text = "Jooel"
$GridView.Cells(0,1).Text = "Finland"

$GridView.Cells(1,0).Text = "Shawn"
$GridView.Cells(1,1).Text = "Canada"

and, could address things like this too:

$GridView.Rows(0).Columns(0).Text = "Jooel"
$GridView.Rows(1).Columns(0).Text = "Shawn"

etc, etc ....
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Wed Aug 18, 2004 7:16 am    Post subject: Reply with quote

sounds like excel.
rows.columns

and
columns.rows is big no-no, right jochen Wink

$GridView.Rows(0).Columns(0).readonly = TRUE

is a bit overkill maybe but:
$GridView.Rows(0).Columns(0).onTexChanged = "quit()"

will be there, right?

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Wed Aug 18, 2004 7:24 am    Post subject: Reply with quote

Lonkero wrote:

and
columns.rows is big no-no, right jochen Wink


not neccessarily, oh well, at least if you don't try to write an array to a column in excel Wink (see Excel.Application: Write an Array vertically (column) )

This is another thing needed to be well discussed in development, but shouldn't produce as much controversy as sockets, right ?

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Wed Aug 18, 2004 7:38 am    Post subject: Reply with quote

well, at least I won't start screaming like I did with sockets.
quess the vodka I will have at home will have some part in calming me down though...

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group