CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Grid within a record

Print topic Send  topic

Author Message
claudio_sti

Posts: 9
Posted: 07/11/2013, 3:35 AM

Can anyone tell me if is somehow possible to display a grid inside a record? I've been trying to work with panels but there's aways something missing.

A hint would be much appreciated.

Thanks,
Claudio
View profile  Send private message
mor

Posts: 119
Posted: 07/11/2013, 5:00 AM

Claudio,
you can place Grid inside Record as part of Includable page or directly (but before - move comment "<!-- BEGIN Record.." bottom). All works.

_________________
Mor ve Ötesi
View profile  Send private message
claudio_sti

Posts: 9
Posted: 07/11/2013, 7:10 AM

Thank you for this. It works indeed. The problem, however is that moving the <!-- BEGIN RECORD... outside the actual block where all the elements are messes up the CCS-Prototyper and I cannot access the modules of the Record. Then a little later, my Code Charge crashes.

Any suggestions?

Claudio
View profile  Send private message
mor

Posts: 119
Posted: 07/11/2013, 7:17 AM

Quote claudio_sti:
Thank you for this. It works indeed. The problem, however is that moving the <!-- BEGIN RECORD... outside the actual block where all the elements are messes up the CCS-Prototyper and I cannot access the modules of the Record. Then a little later, my Code Charge crashes.

Any suggestions?

Claudio

Can you please provide sample of form layout? I will try to help you. :)
Also you can move Grid at any place, using simple jScript.
_________________
Mor ve Ötesi
View profile  Send private message
claudio_sti

Posts: 9
Posted: 07/11/2013, 8:12 AM

Thanks for your kind offer to help.

Well, the page is largely a Code Charge generated Record with some jQuery stuff.
What I want to do is to add a grid in the middle of the record "visits".

Here's the form...

  
<link rel="stylesheet" type="text/css" href="Styles/ExtraStyles.css">  
<link rel="stylesheet" type="text/css" href="Styles/anytime.css">  
<link rel="stylesheet" type="text/css" href="Styles/ui-lightness/jquery-ui-1.8.17.custom.css">  
<link rel="stylesheet" type="text/css" href="Styles/Compact/Style_doctype.css">  
</head>  
<body>  
<p>{topmenu} </p>  
<!-- BEGIN Record visits -->  
<form id="visits" method="post" name="{HTMLFormName}" action="{Action}">  
  <table style="WIDTH: 836px; HEIGHT: 887px" border="0" cellspacing="0" cellpadding="0">  
    <tr>  
      <td valign="top">  
        <table class="Header" border="0" cellspacing="0" cellpadding="0">  
          <tr>  
            <td class="HeaderLeft"><img border="0" alt="" src="Styles/{CCS_Style}/Images/Spacer.gif"></td>   
            <td class="th"><strong> {res:Interventions} </strong></td>   
            <td class="HeaderRight"><img border="0" alt="" src="Styles/{CCS_Style}/Images/Spacer.gif"></td>  
          </tr>  
        </table>  
   
        <table style="WIDTH: 99.95%; HEIGHT: 841px" class="Record" cellspacing="0" cellpadding="0">  
          <!-- BEGIN Error -->  
          <tr class="Error">  
            <td colspan="4">{Error}</td>  
          </tr>  
          <!-- END Error -->  
          <tr class="Controls">  
            <td class="th">{res:interventionID}</td>   
            <td colspan="3">  
              <!-- BEGIN TextBox compID --><input id="visitscompID" name="{compID_Name}" readonly value="{compID}" autocomplete="off"><!-- END TextBox compID --></td>  
          </tr>  
   
          <tr class="Controls">  
            <td class="th">{res:interventiontype}</td>   
            <td colspan="3">  
              <select id="visitsVisiTpID" name="{VisiTpID_Name}">  
                <option selected value="">{res:CCS_SelectValue}</option>  
                {VisiTpID_Options}  
              </select>  
 </td>  
          </tr>  
          <tr class="Controls">  
            <td class="th">{res:requestID}</td>   
            <td colspan="2">  
              <!-- BEGIN TextBox Case_id --><input id="visitsCase_id" name="{Case_id_Name}" value="{Case_id}" autocomplete="off">  
              <!-- BEGINF PTAutocomplete PTAutocomplete1 -->  
              <div id="visitsCase_id_choices">  
              </div>  
              <!-- ENDF PTAutocomplete PTAutocomplete1 --><!-- END TextBox Case_id --></td>   
            <td>  
              <p>  
              <table class="Record" cellspacing="0" cellpadding="0">  
                <tr>  
                  <td>{res:FacilityID}</td>   
                  <td><input id="visitsFacilityID" disabled name="{FacilityID_Name}" readonly value="{FacilityID}" size="40"></td>  
                </tr>  
   
                <tr>  
                  <td>{res:DepartmentDesc}</td>   
                  <td><input id="visitsDeptID" disabled name="{DeptID_Name}" readonly value="{DeptID}" size="40"></td>  
                </tr>  
   
                <tr>  
                  <td>{res:AssetID}</td>   
                  <td><input id="visitsAssetName" disabled name="{AssetName_Name}" readonly value="{AssetName}" size="40"></td>  
                </tr>  
   
                <tr>  
                  <td>{res:Model}</td>   
                  <td><input id="visitsModel" disabled name="{Model_Name}" readonly value="{Model}"></td>  
                </tr>  
   
                <tr>  
                  <td>{res:InternalIventoryNumber}</td>   
                  <td><input id="visitsInternalIventoryNumber" disabled name="{InternalIventoryNumber_Name}" readonly value="{InternalIventoryNumber}"></td>  
                </tr>  
   
                <tr>  
                  <td>{res:SerialNumber}</td>   
                  <td><input id="visitsSerialNumber_Text_Text" disabled name="{SerialNumber_Text_Name}" readonly value="{SerialNumber_Text}"></td>  
                </tr>  
              </table>  
              </p>  
            </td>  
          </tr>  
   
          <tr class="Controls">  
            <td class="th"><label for="visitsDate">{res:interventiondate}</label></td>   
            <td colspan="3"><input id="visitsDate" name="{Date_Name}" maxlength="100" value="{Date}" size="8">  
              <!-- BEGIN DatePicker DatePicker_Date --><a href="javascript:showDatePicker('{Name}','{FormName}','{DateControl}');" id="visitsDatePicker_Date"><img id="visitsDatePicker_Date_Image" border="0" alt="Show Date Picker" src="Styles/{CCS_Style}/Images/DatePicker.gif"></a><!-- END DatePicker DatePicker_Date --></td>  
          </tr>  
   
          <tr class="Controls">  
            <td class="th"> </td>   
            <td colspan="3"> <a href="{LinkNewSupplier_Src}" id="visitsLinkNewSupplier" onclick="OpenSupplier();return false;" target="_parent">{res:AddNew}</a></td>  
          </tr>  
   
          <tr class="Controls">  
            <td class="th"> </td>   
            <td colspan="3">  </td>  
          </tr>  
   
          <tr class="Controls">  
            <td class="th"><label for="visitsEmployeeID">{res:EmployeeID} </label></td>   
            <td colspan="3">  
              <select id="visitsEmployeeID" name="{EmployeeID_Name}">  
                <option selected value="">{res:CCS_SelectValue}</option>  
                {EmployeeID_Options}  
              </select>  
 </td>  
          </tr>  
   
          <tr class="Controls">  
            <td class="th"><label for="visitsAssetStatusID">{res:AssetStatusID}</label></td>   
            <td colspan="3">  
              <select id="visitsAssetStatusID" name="{AssetStatusID_Name}">  
                <option selected value="">{res:CCS_SelectValue}</option>  
                {AssetStatusID_Options}  
              </select>  
 </td>  
          </tr>  
   
          <tr class="Controls">  
            <td class="th"><label for="visitsDesc_en">{res:intervention_desc}</label></td>   
            <td colspan="3"><textarea id="visitsDesc_en" cols="50" rows="3" name="{Desc_en_Name}">{Desc_en}</textarea></td>  
          </tr>  
   
          <tr class="Controls">  
            <td class="th"><label for="visitsDesc_en_eg">{res:Desc_eg} </label></td>   
            <td colspan="3"><textarea id="visitsDesc_en_eg" cols="50" rows="3" name="{Desc_eg_Name}">{Desc_eg}</textarea></td>  
          </tr>  
   
          <tr class="Controls">  
            <td class="th"><label for="visitsFaildPart">{res:FaildPart} </label></td>   
            <td colspan="3"><input id="visitsFaildPart" name="{FaildPart_Name}" maxlength="50" value="{FaildPart}" size="50" autocomplete="off"></td>  
          </tr>  
   
          <tr class="Controls">  
            <td class="th"><label for="visitsFaildPart_eg">{res:FaildPart_eg}</label></td>   
            <td colspan="3"><input id="visitsFaildPart_eg" name="{FaildPart_eg_Name}" value="{FaildPart_eg}" size="50"></td>  
          </tr>  
   
          <tr class="Controls">  
            <td class="th"><label for="visitsFailurCategID">{res:FailurCategID}</label></td>   
            <td colspan="3">  
              <select id="visitsFailurCategID" name="{FailurCategID_Name}">  
                <option selected value="">{res:CCS_SelectValue}</option>  
                {FailurCategID_Options}  
              </select>  
 </td>  
          </tr>  
   
          <tr class="Controls">  
            <td class="th"><label for="visitsFailureCauseID">{res:FailureCauseID} </label></td>   
            <td colspan="3">  
              <select id="visitsFailureCauseID" name="{FailureCauseID_Name}">  
                <option selected value="">{res:CCS_SelectValue}</option>  
                {FailureCauseID_Options}  
              </select>  
 </td>  
          </tr>  
   
          <tr class="Controls">  
            <td class="th"><label for="visitsSpare_part">{res:Spare_part}</label></td>   
            <td colspan="3"><textarea id="visitsSpare_part" cols="50" rows="3" name="{Spare_part_Name}">{Spare_part}</textarea></td>  
          </tr>  
   
          <tr class="Controls">  
            <td class="th"><label for="visitsSpare_part_eg">{res:Spare_part_eg} </label></td>   
            <td colspan="3"><textarea id="visitsSpare_part_eg" cols="50" rows="3" name="{Spare_part_eg_Name}">{Spare_part_eg}</textarea></td>  
          </tr>  
   
          <tr class="Bottom">  
            <td colspan="4" align="right"><input type="hidden" id="visitsAssetID" name="{AssetID_Name}" value="{AssetID}"><input type="hidden" id="visitscurrentUser" name="{currentUser_Name}" value="{currentUser}">{res:LastUpdated} {lastmodified1}  ({user})  </td>  
          </tr>  
   
          <tr class="Bottom">  
            <td colspan="4" align="right">  
              <!-- BEGIN Button Button_Insert --><input type="submit" id="visitsButton_Insert" class="Button" name="{Button_Name}" alt="{res:CCS_Insert}" value="{res:CCS_Insert}"><!-- END Button Button_Insert -->  
              <!-- BEGIN Button Button_Update --><input type="submit" id="visitsButton_Update" class="Button" name="{Button_Name}" alt="{res:CCS_Update}" value="{res:CCS_Update}"><!-- END Button Button_Update -->     
              <!-- BEGIN Button Button_Delete --><input type="submit" id="visitsButton_Delete" class="Button" name="{Button_Name}" alt="{res:CCS_Delete}" value="{res:CCS_Delete}"><!-- END Button Button_Delete -->  
              <!-- BEGIN Button Button_Cancel --><input type="submit" id="visitsButton_Cancel" class="Button" name="{Button_Name}" alt="{res:CCS_Cancel}" value="{res:CCS_Cancel}"><!-- END Button Button_Cancel --></td>  
          </tr>  
        </table>  
      </td>  
    </tr>  
  </table>  
</form>  
<!-- END Record visits --> <br>  
<br>  
    
</body>  
</html>  

Cheers,
Claudio
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.