WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Grid: setColTypes and setColFlages, Jan Agermose, July 11, 2003
     Re:Grid: setColTypes and setColFlages, hooch, July 14, 2003
         Re:Grid: setColTypes and setColFlages, Jan Agermose, July 17, 2003

Subject: Grid: setColTypes and setColFlages From: Jan Agermose Date: July 11, 2003

Are they implemented or am I doing something wrong? Trying the bellow - the only two things that does "not work" is setColTypes (what should happen anyways?) and setColFlags - if coltype is set to int I can still input alpha-chars and if colflag is "1" I can still input data = not readonly?

<div style="height:500px ; ">
<script type="text/javascript">
var test = <%# DataBuilder %> ;
var aData = <%# DataBuilder %> ;
var aColHeaders = <%# HeadingBuilder %> ;
var aRowIds = <%# IdBuilder %> ;
var oGrid = new WebFXGrid(aData);
oGrid.setHeaders(aColHeaders);
oGrid.setRowsServerIds(aRowIds);
oGrid.setUri('GridUpdateServer.aspx?action=save&');
oGrid.setColSizes(<%# SizeBuilder %> );
oGrid.setColTypes(<%# TypeBuilder %> );
oGrid.setColFlags([1,3,3,1,1,1,1,1,1,1,1,1,1]);
document.write(oGrid);
oGrid.setShowSid(false);
oGrid.calcSize();

</script>
</div>

Jan Agermose

 




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX