Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by mark on Jun 25, 2008 08:14
open dhtmlx forum
xml row id

When I use a row id composed of three large dotted numbers the data grid row selected attributed does not always clear causing multiple lines to appear selected. is there a way to use something other than a simple number as the row id?
Answer posted by Support on Jun 25, 2008 09:59
Any text string can be  used as row ID , it not limited by numbers ( its just most common case used in samples )
Answer posted by mark on Jun 25, 2008 14:51

I have fond the problem appears whenever the row id is a number iwth a decimal point

Answer posted by Support on Jun 26, 2008 01:55
By default grid uses commas for separation data in lists, so while the decimal point is safe, the comma can cause problems.
If you need to use commas inside IDs - you can change the default separator char to something different
    grid.setDelimiter(some_char);


If you still have problems with ID, which contains decimal point - please provide any kind of sample where issue can be reconstructed.