:: Forum >>

where should i download Form-validator and Drop-Downform.

i am writing down the link for which i want the source code where i ll find it.
http://www.telefonica.net/web2/webtress/awsamp/

u will find form-validator and drop-down form in Forms option on left side.

Rishit
Thursday, December 15, 2005
Just use (menu/file/save as) when each sample is "displayed", and will get all files needed (complete source code).
Carlos
Thursday, December 15, 2005
Ok carlos, this is really great, but are u going to release any examples for v2???
Rishit
Thursday, December 15, 2005
Carlos it is still not working i am not able to use this code it is show me file missing something like input.js. i also downloaded tat file but till the update,save or delete is showing me error. i hv placed the file in perfect directory still it has error.

if u dnt mind can u mail me. my mail id is rishitmehta@vyasil.com.

thanking u,
rishit
Rishit
Friday, December 16, 2005
Rishit, Not sure why are you getting errors, try renaming the file (and it's reference on the page) or put this code on first place of script tag.
Anyway here is input.js full-code:
if (!window.My) My=[];
if (!My.Templates) My.Templates=[];
// ******************
// Input Cell Template.
// *******************
My.Templates.Input = Active.Templates.Text.subclass();
My.Templates.Input.create = function(){
var obj = this.prototype;

// editor is not part of the template,
// there is only one single instance of editor object.
var editor = new Active.HTML.INPUT;
editor.setClass("templates", "input");
editor.setAttribute("type", "text");
editor.setAttribute("value", function(){
return template.getItemProperty("text");
});

// template variable provides temporary reference
// to the parent template during edit mode.
var template;

function switchToEditMode(){
if (template) { switchToTextMode() }
template = this;
template.element().style.padding = 0;
template.element().innerHTML = editor;
editor.element().focus();
editor.setEvent("ondblclick", switchToTextMode);
}

obj.setEvent("ondblclick", switchToEditMode);

function switchToTextMode(){
var value = editor.element().value;
template.setItemProperty("text", value);
template.refresh();
template = null;
}
editor.setEvent("onblur", switchToTextMode);
};
My.Templates.Input.create();

Carlos
Friday, December 16, 2005
Carlos, I have used your file input.js but it seems that there is still something missing (e.g. the reference to this line: objed1.getLayoutTemplate().setContent("corner/box/item",)

Thanks
Rosario
Sunday, January 22, 2006
Rosario, This line is refering the top-left-box (content) of any grid , I mean i.e. the 'corner-box' at the left of 'Ticker' (column-header).
In current case "objed1" is a tricky-grid acting as a menu edit-append-delete (just column headers), so this line is only switching the text inside this box (SHOW-EDIT-APPEND-DELETE) over a yellow background defined in the style:
#grided1 .active-scroll-corner .active-box-item {BACKGROUND-COLOR: YELLOW}
I could not see the input.js implication for the line mentioned, but if I miss something, or need any additional info, Please let me know.
Thks
Carlos
Sunday, January 22, 2006
HI Plz help me

where should i download the ActiveXObject related files for retrieveing the grid table data into Excel.


Plz help me i need
samba
Wednesday, April 26, 2006

This topic is archived.


Back to support forum

Forum search