tharun27
asked on
cfgrid format issue and columns missing
Below is my current code, i recently changed the format set to html from flash to render in html.
but i noticed from the time, i changed the format = html, the first and last row columns are not showing or generating, especially with the format as flash, i see the id column present, but when i change it to html, the id column is missing, to which i cant edit any row details further.
but i noticed from the time, i changed the format = html, the first and last row columns are not showing or generating, especially with the format as flash, i see the id column present, but when i change it to html, the id column is missing, to which i cant edit any row details further.
<cfgrid name="Setup_grid" height="200" width="900" align="LEFT" autoWidth="yes"
query="Finalquery"
insert="No" delete="No" sort="Yes" fontsize="14"
bold="No" italic="No" appendkey="Yes"
griddataalign="LEFT" gridlines="Yes"
rowheaders="Yes" rowheaderalign="CENTER" rowheaderitalic="No" rowheaderbold="No"
colheaders="Yes" colheaderalign="CENTER" colheaderfont="Arial" colheaderfontsize="12"
colheaderitalic="No" colheaderbold="Yes"
selectmode="Row" picturebar="Yes"
format="html" >
<cfgridcolumn name = "KeyID" Header="Key ID" bold = "No" italic = "No" select = "Yes" display = "Yes" headerBold = "Yes" headerItalic = "No" width = "75">
<cfgridcolumn name = "Step" dataAlign = "LEFT" bold = "No" italic = "No" select = "No" display = "Yes" headerBold = "Yes" headerItalic = "No" width = "75">
<cfgridcolumn name = "Operation" dataAlign = "LEFT" bold = "No" italic = "No" select = "No" display = "Yes" headerBold = "Yes" headerItalic = "No" width = "75">
<cfgridcolumn name = "RevCode" display = "No">
<cfgridcolumn name = "StatusID" display = "No">
</CFGRID>
<script type="text/javascript">
document.getElementById("Setup_grid").setAttribute("type", "application/xhtml xml");
</script>
html.PNG
ASKER
thank you, will sure try. thanks again
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you, that helps.
> <cfgridcolumn name = "StatusID" display = "true">
The last column isn't showing up because it's set to display="no". Change it to "yes" or "true" and it will display.