1) As u said data editing should be enable at server side but in sample application we can edit fields. it means that data editing is enabled for sample app
2) How can i enable data editing on my own ArcGIS server as we have few services for city,highways,county etc .but it showing read only i am unable to edit those fields
3) if data editing enables on my ArcGIS server then how to edit those fields