Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by oVox on Apr 16, 2008 12:06
open dhtmlx forum
Incorrect Cell Type

HI! Im having a problem, when i Select rows in a Grid using "dhtmlxgrid_selection" and the press F5 appears an alert before refreshing page "Incorrect Cell Type Undefined".
I define the col types at my XML (NO VIA Javascript)

<column width="50" id="Check" type="ch" align="center" color="" sort="int" />
<column width="100" id="Codigo" type="ro" align="center" color="" sort="str">Código</column>
<column width="*" id="NOMBRE_LOGIS" type="ro" align="left" color="" sort="str">Nombre</column>
<column width="130" id="NombreTipo" type="ro" align="left" color="" sort="str">Tipo de Producto</column>
<column width="50" id="Peso" type="ro" align="center" color="" sort="int">Peso</column>
<column width="90" id="Observaciones" type="ro" align="center" color="" sort="str">Observaciones</column>
<column width="60" id="PERIODICIDAD_LOGIS" type="ro" align="left" color="" sort="int">Periodicidad</column>
<column width="70" id="Volumen" type="ro" align="center" color="" sort="int">Volumen</column>
<column width="50" id="estaActivo" type="ro" align="left" color="" sort="str">Está activo</column>
<column width="65" id="EsEditorial" type="ro" align="left" color="" sort="str">Es editorial</column>
<column width="65" id="EsSuscribible" type="ro" align="left" color="" sort="str">Es suscribible</column>

Regards, oVox.
Answer posted by Support on Apr 17, 2008 01:55
The mentioned error appears when cell of unknown type found in grid ( in some cases error can occur when API commands used with incorrect parameters )
The configuration which you provided is fully correct, attached sample uses it , and mentioned issue doesn't reoccur.

If problem still occurs for you - please send any kind of sample where problem can be reconstructed.

Attachments (1)
Answer posted by oVox on Apr 17, 2008 06:08

Ok, i will try to fix it.

Other Question, in this example that you send me here when i do a block selection and press CTRL+C no message appears, but in my solution appeas a "Windows Message" asking for Allow to copy or Not....i try to figure it out in your example code but i didn't get it, how did you do that?

Regards.

Answer posted by Support on Apr 17, 2008 08:29
>>but in my solution appeas a "Windows Message" asking for Allow to copy or Not
There is no any special code for such purpose, the message may appear based on security settings of browser, which may show it or not based on used URL ( the message will not be shown for trusted zone )