Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot find name 'ObjectColumnRender'.ts(2304) #56

Closed
alpozgur opened this issue Sep 23, 2024 · 1 comment
Closed

Cannot find name 'ObjectColumnRender'.ts(2304) #56

alpozgur opened this issue Sep 23, 2024 · 1 comment

Comments

@alpozgur
Copy link

Hi;
I'm using datatables.net 2.1.7 and updated the select to 2.1.0 today... in types.d.ts getting error of Cannot find name 'ObjectColumnRender'.ts(2304) at
interface DataTablesStaticRender {
/**
* Display a checkbox in the column's cells to be used for and represent
* row selection.
*/
select(): ObjectColumnRender;

	/**
	 * Display a checkbox in the column's cells to be used for and represent
	 * row selection, with the `value` and `name` attributes for the checkbox
	 * `input` being set by properties from the row's data object.
	 *
	 * @param valueProp Name of the data property where the `value` for the
	 *   checkbox is.
	 * @param nameProp Name of the data property where the `name` for the
	 *   checkbox is.
	 */
	select(valueProp: string, nameProp: string): ObjectColumnRender;
}
AllanJard added a commit to DataTables/DataTablesSrc that referenced this issue Sep 23, 2024
AllanJard pushed a commit to DataTables/Dist-DataTables that referenced this issue Sep 23, 2024
…ObjectColumnRender` for Select

DataTables/Select#56

Sync to source repo @0b07375e57ac56dd2ce582641115169eccd6340d
@AllanJard
Copy link
Contributor

Thank you. The issue was that I wasn't exporting that particular property from the DataTables types. I've committed a fix for that and it will be in the next patch release of DataTables, which I expect to be towards the end of next week.

AllanJard pushed a commit to DataTables/Dist-DataTables-DataTables that referenced this issue Sep 23, 2024
…ObjectColumnRender` for Select

DataTables/Select#56

Sync to source repo @0b07375e57ac56dd2ce582641115169eccd6340d
AllanJard pushed a commit to DataTables/Dist-DataTables-Bootstrap that referenced this issue Sep 23, 2024
…ObjectColumnRender` for Select

DataTables/Select#56

Sync to source repo @0b07375e57ac56dd2ce582641115169eccd6340d
AllanJard pushed a commit to DataTables/Dist-DataTables-Foundation that referenced this issue Sep 23, 2024
…ObjectColumnRender` for Select

DataTables/Select#56

Sync to source repo @0b07375e57ac56dd2ce582641115169eccd6340d
AllanJard pushed a commit to DataTables/Dist-DataTables-jQueryUI that referenced this issue Sep 23, 2024
…ObjectColumnRender` for Select

DataTables/Select#56

Sync to source repo @0b07375e57ac56dd2ce582641115169eccd6340d
AllanJard pushed a commit to DataTables/Dist-DataTables-SemanticUI that referenced this issue Sep 23, 2024
…ObjectColumnRender` for Select

DataTables/Select#56

Sync to source repo @0b07375e57ac56dd2ce582641115169eccd6340d
AllanJard pushed a commit to DataTables/Dist-DataTables-Bootstrap4 that referenced this issue Sep 23, 2024
…ObjectColumnRender` for Select

DataTables/Select#56

Sync to source repo @0b07375e57ac56dd2ce582641115169eccd6340d
AllanJard pushed a commit to DataTables/Dist-DataTables-Bootstrap5 that referenced this issue Sep 23, 2024
…ObjectColumnRender` for Select

DataTables/Select#56

Sync to source repo @0b07375e57ac56dd2ce582641115169eccd6340d
AllanJard pushed a commit to DataTables/Dist-DataTables-Bulma that referenced this issue Sep 23, 2024
…ObjectColumnRender` for Select

DataTables/Select#56

Sync to source repo @0b07375e57ac56dd2ce582641115169eccd6340d
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants