Login Register

Problems with grid and onClick

I suspect you don't use the onclick event with grid the same way you do with the tree (mostly because it won't work for me) but I can't seem to find a reference on how to get this concept to work. All I'm trying to do is show summary information in the grid and then display detail information about the row in a different div tag whe someone mouse clicks on that cell. Any ideas or directions to some place that my give me a clue?

Thanks

Of course I would figure this out immediately after posting. The secret is "onRowClick" instead of "onClick".
Are those events documented anywhere?

I would swear I had read through this several times, but this time I found what I was looking for:
http://dojotoolkit.org/book/dojo-book-0-9/docx-documentation-under-devel...

I need help with the grid

I have two problems. First, the setup. I have a grid whose data source is a php page that runs a query against a DB and then prints the results in a JSON format. My Grid fills in fine if there are less than about 100 records. If I view the JSON object, all of the records are there, but when I try to pull those into the grid, the grid refuses to show anything.

The second issue is with showing detail based on the information in the row. If I use onRowClick I can bring up a static page, but how do I pass row information to that page to get row specific information?

Thanks,
scdelf