Results 1 to 17 of 17

Thread: [RESOLVED] Datagrid

  1. #1

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Resolved [RESOLVED] Datagrid

    Hai friends,

    i developing a time card program using php and mysql.
    i want at the end of the day, 120 emplyees records should be added.
    my client requir a Datagrid linke interface. i have never used a datagrid in the web before. so please advise where to find a Datagrid Controll and how to use it.


  2. #2
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Datagrid

    there are no 'controls' for php. I am sure that you can find some kind of ajax gridview
    My usual boring signature: Something

  3. #3

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: Datagrid

    oh is it, dclamp, have you ever use one in your php / mysql projects?

  4. #4
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Datagrid

    no. i have not actually. I just use tables to show my data
    My usual boring signature: Something

  5. #5

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: Datagrid

    i thing asp people have many resources in control wise than php guys. am i correct?

  6. #6
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Datagrid

    you are correct.
    My usual boring signature: Something

  7. #7

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: Datagrid

    thanks dclamp for info.

  8. #8
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Datagrid

    Just use a table.

  9. #9

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: Datagrid

    Pena, the table is use for display data. how do i enter data in it? Joking

  10. #10

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: Datagrid

    Any idea on how to create a data grid for php, mysql ? sorry for the bounce, it is agent.

  11. #11
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Datagrid

    Well you could use a form with a table within it and an input control in each table cell.
    If you want anything fancier than that you'll need JavaScript.

  12. #12

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: Datagrid

    thanks pana,
    assume there are 120 employees,
    each employee have around 10 columns to fill.
    so we need around 12 X 120 Input boxes in each cell.
    is this a professional way to do ?

    * i think the text boxes can be dynamically generated uing a php loop with the html.

  13. #13
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Datagrid

    Should every employee be able to see every entry?
    It seems to me as though each employee would only need to see their own row.

  14. #14

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: Datagrid

    No my dear pana,
    A nice Girl, she enters the records of the previous day time card stats of 120 employees when she come to work next day. so i must give her a grid like interface to enter those stats. emloyees have nothing to do with this

  15. #15
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Datagrid

    Kind of a suggestion, but what if there were a form where employees had to enter their secret pin number into, then it would get marked in the db what time they logged in, and when they leave, then enter it once more, and it tells what time they left.

    Then everything in the process is dynamic except for the person entering the pin.
    My usual boring signature: Something

  16. #16

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: Datagrid

    first of all, sorry for the delayed reply, coz i really missed the dclamp reply notification.

    Dclamp, seems a very good idea. i just want to check this matter with the employer. Thank you for the suggession.

  17. #17
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Datagrid

    no problem!
    My usual boring signature: Something

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width