I have it DataTablein YUI and I want the record identifier to be from my data instead yui-rec1...
DataTable
yui-rec1
How to do it?
This is a private property called _sId that stores the record identifier. This follows the pattern.
this._sId = "yui-rec" + this._nCount;
Sorry, the recordSet method does not allow you to change the identifier of a record.
I think you can use
dataTAble.getRecord method
dataTAble.getRecord
YAHOO.widget.Record getRecord ( row ) For the given identifier, returns the associated Record instance. Parameters: row <HTMLElement | Number | String> DOM reference to a TR element (or child of a TR element), RecordSet position index, or Record ID. Returns: YAHOO.widget.Record Record instance.
http://developer.yahoo.com/yui/docs/YAHOO.widget.DataTable.html
Or do you need something else?
Source: https://habr.com/ru/post/1766522/More articles:How can we read a zip file and get information about files or folders without unpacking in PHP? - phpAndroid: java.lang.IllegalMonitorStateException: object is not blocked by the thread before waiting () - javaresolving class name conflicts in java - javaThe clean URL does not work, the mod_rewrite module is installed - apacheDynamic ASP.Net or MVC2 data? - asp.net-mvcPlugin for viewing functions and variables in Gvim - vimConfiguring django south with PostgreSQL - djangoMVC Framework, similar to ASP.NET MVC, but for Winform - c #problem with URL rewriting (htaccess) - urlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1766527/mapping-languages-to-paradigms&usg=ALkJrhhY_bZcZRYf8znKWli6Tqah3v1jVgAll Articles