|
|
|
steven
|
 |
« Reply #1 on: December 09, 2008, 08:03:56 PM » |
|
That solution is no longer working from 2.0. It's a workaround for 1.X.
|
|
|
|
|
Logged
|
Sigma AJAX Data Grid - Easy to Integrate with PHP, ASP Classic, ASP.NET & Java Sigma PHP Ajax Framework - WYSIWYG GUI Builder With Tree, Grid, Treegrid, Dialog, Tab & More Component
|
|
|
|
humi
|
 |
« Reply #2 on: December 10, 2008, 03:22:20 AM » |
|
What is a current example?
|
|
|
|
|
Logged
|
|
|
|
|
humi
|
 |
« Reply #3 on: December 15, 2008, 07:37:58 AM » |
|
Bumping this topic.
At worst, I tried the pop up dialog editor example that is bundled with the SigmaGrid 2.0 release, and that doesn't seem to work either.
Is there a method or function to create custom data editors in SigmaGrid 2.1?
Thanks! humi
|
|
|
|
|
Logged
|
|
|
|
|
steven
|
 |
« Reply #4 on: December 15, 2008, 10:17:42 PM » |
|
Actually, custom data editor is supported in SigmaGrid 2.1. We don't expose it to the public because it's hard to understand. But I guess you can 
|
|
|
|
« Last Edit: December 17, 2008, 06:56:27 PM by steven »
|
Logged
|
Sigma AJAX Data Grid - Easy to Integrate with PHP, ASP Classic, ASP.NET & Java Sigma PHP Ajax Framework - WYSIWYG GUI Builder With Tree, Grid, Treegrid, Dialog, Tab & More Component
|
|
|
|
steven
|
 |
« Reply #5 on: December 16, 2008, 04:56:15 PM » |
|
humi, have you ever tried the code above?
|
|
|
|
|
Logged
|
Sigma AJAX Data Grid - Easy to Integrate with PHP, ASP Classic, ASP.NET & Java Sigma PHP Ajax Framework - WYSIWYG GUI Builder With Tree, Grid, Treegrid, Dialog, Tab & More Component
|
|
|
|
humi
|
 |
« Reply #6 on: December 16, 2008, 08:21:54 PM » |
|
Steven, I will be trying it tomorrow. I will post back the results 
|
|
|
|
|
Logged
|
|
|
|
|
humi
|
 |
« Reply #7 on: December 17, 2008, 05:30:10 AM » |
|
I have tried both SigmaGrid 2.0 and 2.1.
Both the Sigma.Dialog() or GT.DialogEditor() don't work. Once I create the editor function in the variable, it returns JavaScript error and crashes the grid.
Note: I am developing using the free trial version. Is this one of its limitations?
I must be doing it wrong. The example included in the SigmaGrid2.0 package works fine. I tried the exact code on my page and that still crashes it. I'll edit my post in time if i get it working.
|
|
|
|
|
Logged
|
|
|
|
|
steven
|
 |
« Reply #8 on: December 17, 2008, 06:57:50 PM » |
|
There is no limitation for LGPL license, it really a full version. I just made some mistakes on the code before. Try the following codes.
|
|
|
|
|
Logged
|
Sigma AJAX Data Grid - Easy to Integrate with PHP, ASP Classic, ASP.NET & Java Sigma PHP Ajax Framework - WYSIWYG GUI Builder With Tree, Grid, Treegrid, Dialog, Tab & More Component
|
|
|
|
humi
|
 |
« Reply #9 on: December 18, 2008, 04:47:49 AM » |
|
This pop up dialog box code works now. The code does vary a little from version 2.0 Two questions: 1.) Is there a way to set X,Y coordinates of the pop-up window? 2.) Is there also a way to create custom "in grid" editors- like the calendar? It would be nice to use, rather than through the Sigma.DialogEditor() interface. Thank you steven. -humi
Answer for 1: Yes. Possible by hacking through gt_grid_all.js Have not put much time into it- but it is possible. There is another option using third party software to allow DIVs to be moved by the user. http://sigmawidgets.com/forum/ajax-data-grid-view/moving-dialogs-(filter-and-chart)/Answer for 2: Yes. Possible by hacking through gt_grid_all.js http://sigmawidgets.com/forum/ajax-data-grid-view/in-grid-editor/
|
|
|
|
« Last Edit: June 04, 2009, 04:25:44 AM by humi »
|
Logged
|
|
|
|
|
steven
|
 |
« Reply #10 on: December 18, 2008, 05:04:10 PM » |
|
Yes, Sigma grid is designed for easy-usage. We don't expose the customized eidtor way (in v2.1) to the public because we haven't find a easy way for programmer to use it. It looks overstaffed. For your two questions. 1). No way for that. Sigma grid is 80K in size. We don't want to add some slight functions to make it bigger. 2). We are planing to do that. Probably in the next version.
|
|
|
|
|
Logged
|
Sigma AJAX Data Grid - Easy to Integrate with PHP, ASP Classic, ASP.NET & Java Sigma PHP Ajax Framework - WYSIWYG GUI Builder With Tree, Grid, Treegrid, Dialog, Tab & More Component
|
|
|
|
humi
|
 |
« Reply #11 on: February 06, 2009, 08:12:04 AM » |
|
The Custom Dialog can be dynamic- I did not think so at first. But now that I understand, its simple. With this method, many things are possible. The in-grid editors are still "statically" created and column-based as first thought (can't change per row). So this is a nice work-around to that. it can even be different for every cell.
Using the code Steven supplied:
|
|
|
|
« Last Edit: February 06, 2009, 08:21:54 AM by humi »
|
Logged
|
|
|
|
|