Sigma Php Ajax framework, Ajax Components, GUI Builder
May 23, 2012, 02:09:12 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Sigma Php Ajax framework, Ajax Components, GUI Builder
>
Sigma Grid
>
Bug Report & Wishlist
(Moderator:
steven
) >
Feature: "New record as this one"
Pages: [
1
]
« previous
next »
Print
Author
Topic: Feature: "New record as this one" (Read 973 times)
humi
Hero Member
Posts: 284
Feature: "New record as this one"
«
on:
February 05, 2009, 09:17:30 AM »
There should be a way for record to be copied, maybe by defaults. User could click "add row" And it will look at a configuration, and add a new row based on what the configuration is. In other words, different buttons, for different defaultRows.
example:
click "add new row 1" - uses defaultRow[1]: {}
click "add new row 2" - uses defaultRow[2]: {}
Logged
steven
Moderator
Hero Member
Posts: 544
Re: Feature: "New record as this one"
«
Reply #1 on:
April 06, 2010, 06:13:06 AM »
Can you try
function button_click(btn){
if(btn===1){
mygrid.defaultRecord = ['a','b'];
}else{
mygrid.defaultRecord = [1,2];
}
mygrid.add();
}
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
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News & Announcements
-----------------------------
Sigma Visual GUI Builder & Library
-----------------------------
=> Sigma Visual - Knowledge Share
=> Sigma Visual - Q&A
=> Bug Report & Wishlist
-----------------------------
Sigma Grid
-----------------------------
=> Sigma Grid - Q&A
=> Show Case
=> Bug Report & Wishlist
-----------------------------
Other
-----------------------------
=> AJAX & JavaScript
Loading...